public class PrefabEditingMetadata
Class PrefabEditingMetadata. Provides prefabeditingmetadata functionality for the Hytale server.
java.lang.Object > PrefabEditingMetadata
Field Summary
uuid
Field uuid.
prefabPath
Field prefabPath.
minPoint
Field minPoint.
maxPoint
Field maxPoint.
anchorPoint
Field anchorPoint.
pastePosition
Field pastePosition.
anchorEntityUuid
Field anchorEntityUuid.
anchorEntityPosition
Field anchorEntityPosition.
originalFileAnchor
Field originalFileAnchor.
dirty
Field dirty.
store
Field store.
entityReference
Field entityReference.
timeResource
Field timeResource.
blockEntityHolder
Field blockEntityHolder.
deltaX
Field deltaX.
deltaY
Field deltaY.
deltaZ
Field deltaZ.
Method Detail
PrefabEditingMetadata
private
PrefabEditingMetadata
()
Method PrefabEditingMetadata.
IllegalStateException
new
IllegalStateException
("minX must be less than or equal to maxX: " + String.valueOf(prefabPath)
Method IllegalStateException.
- Parameters:
"minX must be less than or equal to maxX: " +String.valueOf(prefabPath
createAnchorEntityAt
Method createAnchorEntityAt.
- Parameters:
@Nonnull final Vector3iposition@Nonnull final Worldworld
EntityScaleComponent
new
EntityScaleComponent
(2.1f)
Method EntityScaleComponent.
- Parameters:
2.1f2.1f
setPrefabPath
void
setPrefabPath
(@Nonnull final Path prefabPath)
Method setPrefabPath.
- Parameters:
@Nonnull final PathprefabPath
setAnchorPoint
Method setAnchorPoint.
- Parameters:
@Nonnull final Vector3inewEntityPosition@Nonnull final Worldworld
recreateAnchorEntity
void
recreateAnchorEntity
(@Nonnull final World world)
Method recreateAnchorEntity.
- Parameters:
@Nonnull final Worldworld
sendAnchorHighlightingPacket
Method sendAnchorHighlightingPacket.
- Parameters:
@Nonnull final PacketHandlerdisplayTo
BuilderToolShowAnchor
new
BuilderToolShowAnchor
(this.anchorEntityPosition.x, this.anchorEntityPosition.y, this.anchorEntityPosition.z)
Method BuilderToolShowAnchor.
- Parameters:
this.anchorEntityPosition.xthis.anchorEntityPosition.xthis.anchorEntityPosition.ythis.anchorEntityPosition.ythis.anchorEntityPosition.zthis.anchorEntityPosition.z
isLocationWithinPrefabBoundingBox
Method isLocationWithinPrefabBoundingBox.
- Parameters:
@Nonnull final Vector3ilocation
getPrefabPath
Path
getPrefabPath
()
Method getPrefabPath.
getAnchorEntityUuid
UUID
getAnchorEntityUuid
()
Method getAnchorEntityUuid.
getUuid
UUID
getUuid
()
Method getUuid.
isDirty
boolean
isDirty
()
Method isDirty.
setDirty
void
setDirty
(final boolean dirty)
Method setDirty.
- Parameters:
final booleandirty
isReadOnly
boolean
isReadOnly
()
Method isReadOnly.