java.lang.Object
mods.thecomputerizer.theimpossiblelibrary.api.wrappers.AbstractWrapped<M>
mods.thecomputerizer.theimpossiblelibrary.api.common.block.MaterialAPI<net.minecraft.world.level.block.state.BlockState>
mods.thecomputerizer.theimpossiblelibrary.shared.v20.common.block.Material1_20
All Implemented Interfaces:
mods.thecomputerizer.theimpossiblelibrary.api.core.CoreStateAccessor, mods.thecomputerizer.theimpossiblelibrary.api.wrappers.Wrapped<net.minecraft.world.level.block.state.BlockState>

public class Material1_20 extends mods.thecomputerizer.theimpossiblelibrary.api.common.block.MaterialAPI<net.minecraft.world.level.block.state.BlockState>
As of 1.20, the Material class no longer exists...
  • Field Summary

    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
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
     
    boolean
     
    boolean
    isFlammable(mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> world, mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?> pos, mods.thecomputerizer.theimpossiblelibrary.api.common.block.Facing side)
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     
    boolean
     

    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

    getIfNotNull, getIfNotNullOrDefault, getIfNotNullOrDefault, isNull, isNullGetter, notNull, notNullGetter, supplyIfNull, unwrap, wrapIfNotNull, wrapIfNotNullOrDefault, wrapIfNotNullOrDefault
  • Constructor Details

    • Material1_20

      public Material1_20(Object state)
  • Method Details

    • hasCollider

      public boolean hasCollider()
      Specified by:
      hasCollider in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.MaterialAPI<net.minecraft.world.level.block.state.BlockState>
    • isAir

      public boolean isAir()
      Specified by:
      isAir in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.MaterialAPI<net.minecraft.world.level.block.state.BlockState>
    • isDestroyedByPiston

      public boolean isDestroyedByPiston()
      Specified by:
      isDestroyedByPiston in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.MaterialAPI<net.minecraft.world.level.block.state.BlockState>
    • isFlammable

      public boolean isFlammable(mods.thecomputerizer.theimpossiblelibrary.api.world.WorldAPI<?> world, mods.thecomputerizer.theimpossiblelibrary.api.world.BlockPosAPI<?> pos, mods.thecomputerizer.theimpossiblelibrary.api.common.block.Facing side)
      Specified by:
      isFlammable in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.MaterialAPI<net.minecraft.world.level.block.state.BlockState>
    • isLiquid

      public boolean isLiquid()
      Specified by:
      isLiquid in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.MaterialAPI<net.minecraft.world.level.block.state.BlockState>
    • isPushable

      public boolean isPushable()
      Specified by:
      isPushable in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.MaterialAPI<net.minecraft.world.level.block.state.BlockState>
    • isReplaceable

      public boolean isReplaceable()
      Specified by:
      isReplaceable in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.MaterialAPI<net.minecraft.world.level.block.state.BlockState>
    • isSolid

      public boolean isSolid()
      Specified by:
      isSolid in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.MaterialAPI<net.minecraft.world.level.block.state.BlockState>
    • isUnderwater

      public boolean isUnderwater()
      Specified by:
      isUnderwater in class mods.thecomputerizer.theimpossiblelibrary.api.common.block.MaterialAPI<net.minecraft.world.level.block.state.BlockState>