Class TrapdoorPlacement

java.lang.Object
com.viaversion.viafabricplus.bedrock.inventory.TrapdoorPlacement

public final class TrapdoorPlacement extends Object
Placement orientation survives changes to the hit face and selected trapdoor material.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    boolean
    allows(net.minecraft.core.BlockPos target, net.minecraft.world.level.block.state.BlockState state)
     
    net.minecraft.world.level.block.state.BlockState
    apply(net.minecraft.world.level.block.state.BlockState state)
     
    void
     
    net.minecraft.world.phys.Vec3
    clickPosition(net.minecraft.core.BlockPos target, net.minecraft.world.phys.Vec3 hit)
     
    void
    remember(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos support, net.minecraft.world.phys.Vec3 hit)
     

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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()