Contents
- Description
- Nested Class Summary
- Field Summary
- Constructor Summary
- Method Summary
- Field Details
- Constructor Details
- Method Details
- get()
- getMigrationSystemType()
- getVelocityModifyingSystemType()
- getPlayerComponentType()
- getFrozenComponentType()
- getChunkTrackerComponentType()
- getPlayerSkinComponentType()
- getDisplayNameComponentType()
- getPersistentDisplayNameComponentType()
- getApplyRandomSkinPersistedComponent()
- getEntityGroupComponentType()
- getPlayerSpatialResourceType()
- getItemSpatialResourceType()
- getNetworkSendableSpatialResourceType()
- getDirtyComponentType()
- getCollisionResultComponentType()
- getEntityViewerComponentType()
- getVisibleComponentType()
- getDamageDataComponentType()
- getKnockbackComponentType()
- getDespawnComponentType()
- getSnapshotWorldInfoResourceType()
- getSnapshotBufferComponentType()
- getInteractableComponentType()
- getIntangibleComponentType()
- getPreventInventoryAccessComponentType()
- getPreventEmotesComponentType()
- getPreventDebugScreensComponentType()
- getPreventPickupComponentType()
- getInvulnerableComponentType()
- getIgnoreDisableNPCIncomingDamageComponentType()
- getRespondToHitComponentType()
- getProjectilePassthroughComponentType()
- getMarkerReplicationQueueResourceType()
- getHiddenFromAdventurePlayerComponentType()
- getSpectatingComponentType()
- getPersistentGameModeTypeComponentType()
- getPlayerLivesComponentType()
- getHardcoreStateResourceType()
- getFromPrefabComponentType()
- getFromWorldGenComponentType()
- getFromPrefabInstanceComponentType()
- getWorldGenIdComponentType()
- getMovementManagerComponentType()
- getNameplateComponentType()
- getPreClearMarkersGroup()
- getPersistentRefCountComponentType()
- getTransformComponentType()
- getHeadRotationComponentType()
- getNetworkIdComponentType()
- getEffectControllerComponentType()
- getMovementStatesComponentType()
- getBlockEntityComponentType()
- getEntityScaleComponentType()
- getCameraManagerComponentType()
- getUuidComponentType()
- getPlayerInputComponentType()
- getKnockbackSimulationComponentType()
- getTeleportComponentType()
- getProjectileComponentType()
- getPendingTeleportComponentType()
- getTeleportRecordComponentType()
- getModelComponentType()
- getModelRotateBoundingBoxComponentType()
- getPersistentModelComponentType()
- getPropComponentType()
- getNPCMarkerComponentType()
- getBoundingBoxComponentType()
- getHitboxCollisionComponentType()
- getVelocityComponentType()
- getPhysicsValuesComponentType()
- getRepulsionComponentType()
- getEntitySpatialResourceType()
- getItemComponentType()
- getPickupItemComponentType()
- getPreventItemMergingType()
- getItemPhysicsComponentType()
- getDynamicLightComponentType()
- getPersistentDynamicLightComponentType()
- getPrefabPreviewComponentType()
- getPersistentPrefabPreviewComponentType()
- getPrefabCopyableComponentType()
- getRotateObjectComponentType()
- getNewSpawnComponentType()
- getAudioComponentType()
- getMovementAudioComponentType()
- getPositionDataComponentType()
- getPlayerSettingsComponentType()
- getUniqueItemUsagesComponentType()
- getStorageInventoryComponentType()
- getArmorInventoryComponentType()
- getHotbarInventoryComponentType()
- getUtilityInventoryComponentType()
- getBackpackInventoryComponentType()
- getToolInventoryComponentType()
- getAbilitySlotsInventoryComponentType()
- getRuneBagInventoryComponentType()
- getCombinedInventoryComponentType()
- getDropItemsComponentType()
- getActiveAnimationComponentType()
- getCachedStatsComponentType()
- getBreathingComponentType()
- getHealthRegenStateComponentType()
- registerEntity(String, Class, Function, DirectDecodeCodec)
- getConstructor(Class)
- getCodec(Class)
- getClass(String)
- getIdentifier(Class)
- getComponentType(Class)
- isKnown(Entity)
Class EntityModule
java.lang.Object
com.hypixel.hytale.server.core.plugin.PluginBase
com.hypixel.hytale.server.core.plugin.JavaPlugin
com.hypixel.hytale.server.core.modules.entity.EntityModule
- All Implemented Interfaces:
CommandOwner
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classEntityModule.LegacyEntityHolderSystem<T extends Entity>static classEntityModule.LegacyEntityRefSystem<T extends Entity>static classStores a copy of the uuid component on the legacy entity for async access and converts from the legacy uuid to the new componentstatic classstatic classstatic enum -
Field Summary
FieldsFields inherited from class PluginBase
METRICS_REGISTRY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityModuleget()<T extends Entity>
DirectDecodeCodec<T> <T extends Entity>
ComponentType<EntityStore, T> getComponentType(Class<T> entityClass) getConstructor(Class<T> entityClass) getIdentifier(Class<? extends Entity> entityClass) SystemType<EntityStore, ? extends ISystem<EntityStore>> boolean<T extends Entity>
EntityRegistrationregisterEntity(String id, Class<T> clazz, Function<World, T> entityConstructor, DirectDecodeCodec<T> codec) Methods inherited from class JavaPlugin
getClassLoader, getFile, getTypeMethods inherited from class PluginBase
getAssetRegistry, getBasePermission, getChunkStoreRegistry, getClientFeatureRegistry, getCodecRegistry, getCodecRegistry, getCodecRegistry, getCommandRegistry, getDataDirectory, getEntityRegistry, getEntityStoreRegistry, getEventRegistry, getIdentifier, getLogger, getManifest, getName, getState, getTaskRegistry, isDisabled, isEnabled, preLoad
-
Field Details
-
MANIFEST
-
MOUNT_MOVEMENT_SETTINGS_ASSET_ID
- See Also:
-
-
Constructor Details
-
EntityModule
-
-
Method Details
-
get
-
getMigrationSystemType
-
getVelocityModifyingSystemType
-
getPlayerComponentType
-
getFrozenComponentType
-
getChunkTrackerComponentType
-
getPlayerSkinComponentType
-
getDisplayNameComponentType
- Returns:
- the component type for the
DisplayNameComponentcomponent.
-
getPersistentDisplayNameComponentType
-
getApplyRandomSkinPersistedComponent
public ComponentType<EntityStore, ApplyRandomSkinPersistedComponent> getApplyRandomSkinPersistedComponent() -
getEntityGroupComponentType
-
getPlayerSpatialResourceType
public ResourceType<EntityStore, SpatialResource<Ref<EntityStore>, EntityStore>> getPlayerSpatialResourceType() -
getItemSpatialResourceType
public ResourceType<EntityStore, SpatialResource<Ref<EntityStore>, EntityStore>> getItemSpatialResourceType() -
getNetworkSendableSpatialResourceType
public ResourceType<EntityStore, SpatialResource<Ref<EntityStore>, EntityStore>> getNetworkSendableSpatialResourceType() -
getDirtyComponentType
-
getCollisionResultComponentType
-
getEntityViewerComponentType
-
getVisibleComponentType
-
getDamageDataComponentType
-
getKnockbackComponentType
-
getDespawnComponentType
-
getSnapshotWorldInfoResourceType
public ResourceType<EntityStore, SnapshotSystems.SnapshotWorldInfo> getSnapshotWorldInfoResourceType() -
getSnapshotBufferComponentType
-
getInteractableComponentType
-
getIntangibleComponentType
-
getPreventInventoryAccessComponentType
-
getPreventEmotesComponentType
-
getPreventDebugScreensComponentType
-
getPreventPickupComponentType
-
getInvulnerableComponentType
-
getIgnoreDisableNPCIncomingDamageComponentType
public ComponentType<EntityStore, IgnoreDisableNPCIncomingDamage> getIgnoreDisableNPCIncomingDamageComponentType() -
getRespondToHitComponentType
-
getProjectilePassthroughComponentType
-
getMarkerReplicationQueueResourceType
public ResourceType<EntityStore, MarkerReplicationSystems.QueueResource> getMarkerReplicationQueueResourceType() -
getHiddenFromAdventurePlayerComponentType
public ComponentType<EntityStore, HiddenFromAdventurePlayers> getHiddenFromAdventurePlayerComponentType() -
getSpectatingComponentType
-
getPersistentGameModeTypeComponentType
-
getPlayerLivesComponentType
-
getHardcoreStateResourceType
-
getFromPrefabComponentType
-
getFromWorldGenComponentType
-
getFromPrefabInstanceComponentType
-
getWorldGenIdComponentType
-
getMovementManagerComponentType
-
getNameplateComponentType
-
getPreClearMarkersGroup
-
getPersistentRefCountComponentType
-
getTransformComponentType
-
getHeadRotationComponentType
-
getNetworkIdComponentType
-
getEffectControllerComponentType
-
getMovementStatesComponentType
-
getBlockEntityComponentType
-
getEntityScaleComponentType
-
getCameraManagerComponentType
-
getUuidComponentType
-
getPlayerInputComponentType
-
getKnockbackSimulationComponentType
-
getTeleportComponentType
-
getProjectileComponentType
-
getPendingTeleportComponentType
-
getTeleportRecordComponentType
-
getModelComponentType
-
getModelRotateBoundingBoxComponentType
public ComponentType<EntityStore, ModelRotateBoundingBoxComponent> getModelRotateBoundingBoxComponentType() -
getPersistentModelComponentType
-
getPropComponentType
-
getNPCMarkerComponentType
-
getBoundingBoxComponentType
-
getHitboxCollisionComponentType
-
getVelocityComponentType
-
getPhysicsValuesComponentType
-
getRepulsionComponentType
-
getEntitySpatialResourceType
public ResourceType<EntityStore, SpatialResource<Ref<EntityStore>, EntityStore>> getEntitySpatialResourceType() -
getItemComponentType
-
getPickupItemComponentType
-
getPreventItemMergingType
-
getItemPhysicsComponentType
-
getDynamicLightComponentType
-
getPersistentDynamicLightComponentType
-
getPrefabPreviewComponentType
-
getPersistentPrefabPreviewComponentType
public ComponentType<EntityStore, PersistentPrefabPreview> getPersistentPrefabPreviewComponentType() -
getPrefabCopyableComponentType
-
getRotateObjectComponentType
-
getNewSpawnComponentType
-
getAudioComponentType
-
getMovementAudioComponentType
-
getPositionDataComponentType
-
getPlayerSettingsComponentType
-
getUniqueItemUsagesComponentType
-
getStorageInventoryComponentType
-
getArmorInventoryComponentType
-
getHotbarInventoryComponentType
-
getUtilityInventoryComponentType
-
getBackpackInventoryComponentType
-
getToolInventoryComponentType
-
getAbilitySlotsInventoryComponentType
public ComponentType<EntityStore, InventoryComponent.AbilitySlots> getAbilitySlotsInventoryComponentType() -
getRuneBagInventoryComponentType
-
getCombinedInventoryComponentType
-
getDropItemsComponentType
-
getActiveAnimationComponentType
-
getCachedStatsComponentType
-
getBreathingComponentType
-
getHealthRegenStateComponentType
-
registerEntity
@Nullable public <T extends Entity> EntityRegistration registerEntity(@Nonnull String id, @Nonnull Class<T> clazz, Function<World, T> entityConstructor, @Nullable DirectDecodeCodec<T> codec) -
getConstructor
-
getCodec
-
getClass
-
getIdentifier
-
getComponentType
@Nullable public <T extends Entity> ComponentType<EntityStore, T> getComponentType(@Nullable Class<T> entityClass) -
isKnown
-