Class TrapdoorPlacement
java.lang.Object
com.viaversion.viafabricplus.bedrock.inventory.TrapdoorPlacement
Placement orientation survives changes to the hit face and selected trapdoor material.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanactive()booleanallows(net.minecraft.core.BlockPos target, net.minecraft.world.level.block.state.BlockState state) net.minecraft.world.level.block.state.BlockStateapply(net.minecraft.world.level.block.state.BlockState state) voidclear()net.minecraft.world.phys.Vec3clickPosition(net.minecraft.core.BlockPos target, net.minecraft.world.phys.Vec3 hit) voidremember(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos support, net.minecraft.world.phys.Vec3 hit)
-
Constructor Details
-
TrapdoorPlacement
public TrapdoorPlacement()
-
-
Method Details
-
active
public boolean active() -
remember
public void remember(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos support, net.minecraft.world.phys.Vec3 hit) -
allows
public boolean allows(net.minecraft.core.BlockPos target, net.minecraft.world.level.block.state.BlockState state) -
apply
public net.minecraft.world.level.block.state.BlockState apply(net.minecraft.world.level.block.state.BlockState state) -
clickPosition
public net.minecraft.world.phys.Vec3 clickPosition(net.minecraft.core.BlockPos target, net.minecraft.world.phys.Vec3 hit) -
clear
public void clear()
-