}
public void placeBlock(GlowPlayer player, GlowBlockState state, BlockFace face, ItemStack holding, Vector clickedLoc) {
MaterialData materialData = state.getData();
if (materialData instanceof TrapDoor) {
TrapDoor trapDoor = (TrapDoor) materialData;
trapDoor.setFacingDirection(face);
if (clickedLoc.getY() >= 7.5) {
trapDoor.setInverted(true);
} else {
trapDoor.setInverted(false);
}
state.update(true);
} else {
parent.warnMaterialData(TrapDoor.class, materialData);
}