Class BlockState1_12_2

java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<net.minecraft.block.state.IBlockState>
mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI<net.minecraft.block.state.IBlockState>
mods.thecomputerizer.theimpossiblelibrary.legacy.v12.m2.common.block.BlockState1_12_2
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<net.minecraft.block.state.IBlockState>

public class BlockState1_12_2 extends mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI<net.minecraft.block.state.IBlockState>
  • Field Summary

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

    wrapped
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockAPI<net.minecraft.block.Block>
     
    mods.thecomputerizer.theimpossiblelibrary.api.common.block.MaterialAPI<net.minecraft.block.material.Material>
     
     
    boolean
    getPropertyBool(mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<?,Boolean> property)
     
    <E extends Enum<E>>
    E
    getPropertyEnum(mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<?,E> property)
     
    <V extends Comparable<V>>
    V
    getPropertyValue(mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<?,V> property)
     
    <V extends Comparable<V>>
    mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI<net.minecraft.block.state.IBlockState>
    withProperty(mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<?,V> property, V value)
     

    Methods inherited from class mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI

    getPropertyBool, getPropertyEnum, getPropertyValue, withProperty

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

    equals, 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.wrappers.Wrapped

    unwrap
  • Constructor Details

    • BlockState1_12_2

      public BlockState1_12_2(Object state)
  • Method Details

    • getBlock

      public mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockAPI<net.minecraft.block.Block> getBlock()
      Specified by:
      getBlock in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI<net.minecraft.block.state.IBlockState>
    • getMaterial

      public mods.thecomputerizer.theimpossiblelibrary.api.common.block.MaterialAPI<net.minecraft.block.material.Material> getMaterial()
      Specified by:
      getMaterial in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI<net.minecraft.block.state.IBlockState>
    • getProperty

      @Nullable public BlockProperty1_12_2<?> getProperty(String name)
      Specified by:
      getProperty in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI<net.minecraft.block.state.IBlockState>
    • getPropertyBool

      public boolean getPropertyBool(mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<?,Boolean> property)
      Specified by:
      getPropertyBool in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI<net.minecraft.block.state.IBlockState>
    • getPropertyEnum

      public <E extends Enum<E>> E getPropertyEnum(mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<?,E> property)
      Specified by:
      getPropertyEnum in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI<net.minecraft.block.state.IBlockState>
    • getPropertyValue

      public <V extends Comparable<V>> V getPropertyValue(mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<?,V> property)
      Specified by:
      getPropertyValue in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI<net.minecraft.block.state.IBlockState>
    • withProperty

      public <V extends Comparable<V>> mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI<net.minecraft.block.state.IBlockState> withProperty(mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockPropertyAPI<?,V> property, V value)
      Specified by:
      withProperty in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.BlockStateAPI<net.minecraft.block.state.IBlockState>