Class FabricBlock

java.lang.Object
com.elikill58.negativity.api.block.Block
com.elikill58.negativity.fabric.impl.block.FabricBlock
All Implemented Interfaces:
NegativityObject

public class FabricBlock extends Block
  • Constructor Details

    • FabricBlock

      public FabricBlock(net.minecraft.block.Block block, net.minecraft.world.World w, net.minecraft.util.math.BlockPos position)
  • Method Details

    • getType

      public Material getType()
      Specified by:
      getType in class Block
    • getX

      public int getX()
      Specified by:
      getX in class Block
    • getY

      public int getY()
      Specified by:
      getY in class Block
    • getZ

      public int getZ()
      Specified by:
      getZ in class Block
    • getRelative

      public Block getRelative(BlockFace blockFace)
      Specified by:
      getRelative in class Block
    • getDirection

      public net.minecraft.util.math.BlockPos getDirection(net.minecraft.util.math.BlockPos pos, BlockFace bf)
    • getLocation

      public Location getLocation()
      Specified by:
      getLocation in class Block
    • isLiquid

      public boolean isLiquid()
      Specified by:
      isLiquid in class Block
    • setType

      public void setType(Material type)
      Specified by:
      setType in class Block
    • isWaterLogged

      public boolean isWaterLogged()
      Specified by:
      isWaterLogged in class Block
    • getDefault

      public Object getDefault()