Class BlockStateModule

All Implemented Interfaces:
CommandOwner

@Deprecated(forRemoval=true) public class BlockStateModule extends JavaPlugin
Deprecated, for removal: This API element is subject to removal in a future version.
  • Field Details

  • Constructor Details

    • BlockStateModule

      public BlockStateModule(@Nonnull JavaPluginInit init)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • get

      public static BlockStateModule get()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • getItemContainerSpatialResourceType

      public ResourceType<ChunkStore,SpatialResource<Ref<ChunkStore>,ChunkStore>> getItemContainerSpatialResourceType()
      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:
      setup in class PluginBase
    • 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.