Class BlockStateModule
java.lang.Object
com.hypixel.hytale.server.core.plugin.PluginBase
com.hypixel.hytale.server.core.plugin.JavaPlugin
com.hypixel.hytale.server.core.universe.world.meta.BlockStateModule
- All Implemented Interfaces:
CommandOwner
Deprecated, for removal: This API element is subject to removal in a future version.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated, for removal: This API element is subject to removal in a future version.static classDeprecated, for removal: This API element is subject to removal in a future version.static classDeprecated, for removal: This API element is subject to removal in a future version.static classDeprecated, for removal: This API element is subject to removal in a future version.static classDeprecated, for removal: This API element is subject to removal in a future version.static classDeprecated, for removal: This API element is subject to removal in a future version.static classDeprecated, for removal: This API element is subject to removal in a future version. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<Class<? extends BlockState>, ComponentType<ChunkStore, ? extends BlockState>> Deprecated.private static BlockStateModuleDeprecated, for removal: This API element is subject to removal in a future version.private ResourceType<ChunkStore, SpatialResource<Ref<ChunkStore>, ChunkStore>> Deprecated, for removal: This API element is subject to removal in a future version.static final PluginManifestDeprecated, for removal: This API element is subject to removal in a future version.Fields inherited from class com.hypixel.hytale.server.core.plugin.PluginBase
METRICS_REGISTRY -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescription<T extends BlockState>
TcreateBlockState(Class<T> clazz, WorldChunk chunk, Vector3i pos, com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType blockType) Deprecated, for removal: This API element is subject to removal in a future version.createBlockState(String key, WorldChunk chunk, Vector3i pos, com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType blockType) Deprecated, for removal: This API element is subject to removal in a future version.static BlockStateModuleget()Deprecated, for removal: This API element is subject to removal in a future version.<T extends BlockState>
ComponentType<ChunkStore, T> getComponentType(Class<T> entityClass) Deprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.<T extends BlockState>
BlockStateRegistrationregisterBlockState(Class<T> clazz, String key, Codec<T> codec) Deprecated, for removal: This API element is subject to removal in a future version.<T extends BlockState,D extends StateData>
BlockStateRegistrationregisterBlockState(Class<T> clazz, String key, Codec<T> codec, Class<D> dataClass, Codec<D> dataCodec) Deprecated, for removal: This API element is subject to removal in a future version.protected voidsetup()Deprecated, for removal: This API element is subject to removal in a future version.<T extends BlockState,D extends StateData>
voidunregisterBlockState(Class<T> clazz, Class<D> dataClass) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class com.hypixel.hytale.server.core.plugin.JavaPlugin
getClassLoader, getFile, getType, start0Methods inherited from class com.hypixel.hytale.server.core.plugin.PluginBase
getAssetRegistry, getBasePermission, getBlockStateRegistry, getChunkStoreRegistry, getClientFeatureRegistry, getCodecRegistry, getCodecRegistry, getCodecRegistry, getCommandRegistry, getDataDirectory, getEntityRegistry, getEntityStoreRegistry, getEventRegistry, getIdentifier, getLogger, getManifest, getName, getState, getTaskRegistry, isDisabled, isEnabled, preLoad, setup0, shutdown, shutdown0, start, withConfig, withConfig
-
Field Details
-
MANIFEST
Deprecated, for removal: This API element is subject to removal in a future version. -
instance
Deprecated, for removal: This API element is subject to removal in a future version. -
classToComponentType
@Deprecated private final Map<Class<? extends BlockState>,ComponentType<ChunkStore, classToComponentType? extends BlockState>> Deprecated. -
itemContainerSpatialResourceType
private ResourceType<ChunkStore,SpatialResource<Ref<ChunkStore>, itemContainerSpatialResourceTypeChunkStore>> Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Constructor Details
-
BlockStateModule
Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
get
Deprecated, for removal: This API element is subject to removal in a future version. -
getItemContainerSpatialResourceType
public ResourceType<ChunkStore,SpatialResource<Ref<ChunkStore>, getItemContainerSpatialResourceType()ChunkStore>> Deprecated, for removal: This API element is subject to removal in a future version. -
setup
protected void setup()Deprecated, for removal: This API element is subject to removal in a future version.- Overrides:
setupin classPluginBase
-
registerBlockState
@Nullable public <T extends BlockState> BlockStateRegistration registerBlockState(@Nonnull Class<T> clazz, @Nonnull String key, Codec<T> codec) Deprecated, for removal: This API element is subject to removal in a future version. -
registerBlockState
@Nullable public <T extends BlockState,D extends StateData> BlockStateRegistration registerBlockState(@Nonnull Class<T> clazz, @Nonnull String key, @Nullable Codec<T> codec, Class<D> dataClass, @Nullable Codec<D> dataCodec) Deprecated, for removal: This API element is subject to removal in a future version. -
unregisterBlockState
public <T extends BlockState,D extends StateData> void unregisterBlockState(Class<T> clazz, @Nullable Class<D> dataClass) Deprecated, for removal: This API element is subject to removal in a future version. -
createBlockState
@Nullable public <T extends BlockState> T createBlockState(Class<T> clazz, WorldChunk chunk, Vector3i pos, com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType blockType) Deprecated, for removal: This API element is subject to removal in a future version. -
createBlockState
@Nullable public BlockState createBlockState(String key, WorldChunk chunk, Vector3i pos, com.hypixel.hytale.server.core.asset.type.blocktype.config.BlockType blockType) Deprecated, for removal: This API element is subject to removal in a future version. -
getComponentType
@Nullable public <T extends BlockState> ComponentType<ChunkStore,T> getComponentType(@Nullable Class<T> entityClass) Deprecated, for removal: This API element is subject to removal in a future version.
-