Class BlockEntity1_12_2

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<Class<? extends net.minecraft.tileentity.TileEntity>>
mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<net.minecraft.tileentity.TileEntity, Class<? extends net.minecraft.tileentity.TileEntity>>
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.common.blockentity.BlockEntity1_12_2
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryEntryAPI<Class<? extends net.minecraft.tileentity.TileEntity>>, mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<Class<? extends net.minecraft.tileentity.TileEntity>>

public class BlockEntity1_12_2 extends mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<net.minecraft.tileentity.TileEntity, Class<? extends net.minecraft.tileentity.TileEntity>>
  • 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.registry.RegistryEntryAPI

    FORGE, FORGE_OR_NEOFORGE, NAMED_ENV, SRG_ENV
  • 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.registry.RegistryAPI<?>
     
    mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<net.minecraft.world.World>
     
    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, getRegistryName

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

    getWrapped, getWrappedClass, unwrap
  • Method Details

    • entity

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

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

      public static BlockEntity1_12_2 type(Object type)
      Assumes the input object will never be null
    • getRegistry

      public mods.thecomputerizer.theimpossiblelibrary.api.registry.RegistryAPI<?> getRegistry()
    • getPos

      public mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?> getPos()
      Specified by:
      getPos in class mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<net.minecraft.tileentity.TileEntity, Class<? extends net.minecraft.tileentity.TileEntity>>
    • getWorld

      public mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<net.minecraft.world.World> getWorld()
      Specified by:
      getWorld in class mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<net.minecraft.tileentity.TileEntity, Class<? extends net.minecraft.tileentity.TileEntity>>
    • readTagFrom

      public mods.thecomputerizer.theimpossiblelibrary.api.tag.CompoundTagAPI<?> readTagFrom()
      Specified by:
      readTagFrom in class mods.thecomputerizer.theimpossiblelibrary.api.common.blockentity.BlockEntityAPI<net.minecraft.tileentity.TileEntity, Class<? extends net.minecraft.tileentity.TileEntity>>
    • 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.tileentity.TileEntity, Class<? extends net.minecraft.tileentity.TileEntity>>