HyCodeYourTale
classpublicPriority 3

PrefabEditSession

com.hypixel.hytale.builtin.buildertools.prefabeditor.PrefabEditSession

implements Resource

15

Methods

15

Public Methods

4

Fields

3

Constructors

Constants

BuilderCodec<PrefabEditSession>CODEC= BuilderCodec.builder(PrefabEditSession.class, PrefabEditSession::new) .append(new KeyedCode...

Constructors

private
PrefabEditSession()
public
PrefabEditSession(String worldName, UUID worldCreator, UUID worldArrivedFrom, Transform transformArrivedFrom)
public
PrefabEditSession(PrefabEditSession other)

Methods

Public Methods (15)

public
boolean clearSelectedPrefab(Ref<EntityStore> ref, ComponentAccessor<EntityStore> componentAccessor)
publicstatic
MapMarker createPrefabMarker(PrefabEditingMetadata metadata)
@Nonnull
public
MapMarker[] createPrefabMarkers()
@Nonnull
public
Map<UUID, PrefabEditingMetadata> getLoadedPrefabMetadata()
@Nonnull
publicstatic
ResourceType<EntityStore, PrefabEditSession> getResourceType()
@Nonnull
public
PrefabEditingMetadata getSelectedPrefab(UUID playerUuid)
@Nullable
public
Vector3i getSpawnPoint()
@Nonnull
public
Transform getTransformArrivedFrom()
@Nullable
public
UUID getWorldArrivedFrom()
public
UUID getWorldCreator()
public
String getWorldName()
@Nonnull
public
void hidePrefabAnchors(PacketHandler packetHandler)
public
void markPrefabsDirtyAtPosition(Vector3i position)
public
void markPrefabsDirtyInBounds(Vector3i min, Vector3i max)
public
PrefabEditingMetadata updatePrefabBounds(UUID prefab, Vector3i newMin, Vector3i newMax)
@Nullable

Fields

Private/Package Fields (4)

privateTransform transformArrivedFrom
privateUUID worldArrivedFrom
privateUUID worldCreator
privateString worldName

Related Classes