java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<T>
mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<net.minecraft.world.level.block.entity.BlockEntity,net.minecraft.world.level.block.entity.BlockEntityType<?>>
mods.thecomputerizer.theimpossiblelibrary.shared.v18.m2.common.blockentity.BlockEntity1_18_2
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor, mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryEntryAPI<net.minecraft.world.level.block.entity.BlockEntityType<?>>, mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<net.minecraft.world.level.block.entity.BlockEntityType<?>>

public class BlockEntity1_18_2 extends mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<net.minecraft.world.level.block.entity.BlockEntity,net.minecraft.world.level.block.entity.BlockEntityType<?>>
  • Field Summary

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI

    creator, entity, registryName

    Fields inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    wrapped

    Fields inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor

    BOOLEAN_VALUES, FABRIC, FORGE, FORGE_OR_NEOFORGE, GAME_VERSION, JAVA_17, JAVA_21, JAVA_8, JAVA_MODULES, JAVA_VERSION, JAVA_VERSION_ASM, LEGACY, MOD_LOADER, NAMED_ENV, NEOFORGE, SRG_ENV, V12, V16, V16_OR_EARLIER, V16_OR_LATER, V18, V18_OR_EARLIER, V18_OR_LATER, V19, V19_2_OR_EARLIER, V19_4_OR_LATER, V19_OR_EARLIER, V19_OR_LATER, V20, V20_4_OR_EARLIER, V20_6_OR_LATER, V20_OR_EARLIER, V20_OR_LATER, V21, V21_OR_LATER
  • Method Summary

    Modifier and Type
    Method
    Description
    entity(Object tile)
    Assumes the input object will never be null
    get(Object obj)
    Assumes the input object will never be null
    mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?>
     
    mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?>
     
    mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<?>
     
    void
    setRegistryName(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> registryName)
     
    type(Object type)
    Assumes the input object will never be null
    void
    writeTagTo(mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<?> tag)
     

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI

    createFromReference, equals, getCreator, getEntity, getRegistryName, getState, setCreator, setLocalRegistryName

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped

    getWrapped, getWrappedClass, toString

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

    Methods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryEntryAPI

    getName, getName, getRegistry, getRegistryName, setForgeRegistryName

    Methods inherited from interface mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped

    getIfNotNull, getIfNotNullOrDefault, getIfNotNullOrDefault, getWrapped, getWrappedClass, isNull, isNullGetter, notNull, notNullGetter, supplyIfNull, unwrap, wrapIfNotNull, wrapIfNotNullOrDefault, wrapIfNotNullOrDefault
  • Method Details

    • entity

      public static BlockEntity1_18_2 entity(Object tile)
      Assumes the input object will never be null
    • get

      public static BlockEntity1_18_2 get(Object obj)
      Assumes the input object will never be null
    • type

      public static BlockEntity1_18_2 type(Object type)
      Assumes the input object will never be null
    • getPos

      public mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?> getPos()
      Specified by:
      getPos in class mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<net.minecraft.world.level.block.entity.BlockEntity,net.minecraft.world.level.block.entity.BlockEntityType<?>>
    • getWorld

      public mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> getWorld()
      Specified by:
      getWorld in class mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<net.minecraft.world.level.block.entity.BlockEntity,net.minecraft.world.level.block.entity.BlockEntityType<?>>
    • readTagFrom

      public mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<?> readTagFrom()
      Specified by:
      readTagFrom in class mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<net.minecraft.world.level.block.entity.BlockEntity,net.minecraft.world.level.block.entity.BlockEntityType<?>>
    • setRegistryName

      public void setRegistryName(mods.thecomputerizer.theimpossiblelibrary.api.resource.ResourceLocationAPI<?> registryName)
    • writeTagTo

      public void writeTagTo(mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<?> tag)
      Specified by:
      writeTagTo in class mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<net.minecraft.world.level.block.entity.BlockEntity,net.minecraft.world.level.block.entity.BlockEntityType<?>>