Class FabricBlock
java.lang.Object
com.elikill58.negativity.api.block.Block
com.elikill58.negativity.fabric.impl.block.FabricBlock
- All Implemented Interfaces:
NegativityObject
-
Constructor Summary
ConstructorDescriptionFabricBlock
(net.minecraft.block.Block block, net.minecraft.world.World w, net.minecraft.util.math.BlockPos position) -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.util.math.BlockPos
getDirection
(net.minecraft.util.math.BlockPos pos, BlockFace bf) getRelative
(BlockFace blockFace) getType()
int
getX()
int
getY()
int
getZ()
boolean
isLiquid()
boolean
void
-
Constructor Details
-
FabricBlock
public FabricBlock(net.minecraft.block.Block block, net.minecraft.world.World w, net.minecraft.util.math.BlockPos position)
-
-
Method Details
-
getType
-
getX
public int getX() -
getY
public int getY() -
getZ
public int getZ() -
getRelative
- Specified by:
getRelative
in classBlock
-
getDirection
public net.minecraft.util.math.BlockPos getDirection(net.minecraft.util.math.BlockPos pos, BlockFace bf) -
getLocation
- Specified by:
getLocation
in classBlock
-
isLiquid
public boolean isLiquid() -
setType
-
isWaterLogged
public boolean isWaterLogged()- Specified by:
isWaterLogged
in classBlock
-
getDefault
-