72 1 => AxisAlignedBB::one()
73 ->squash(Axis::X, 7 / 16)
74 ->squash(Axis::Z, 7 / 16),
75 2 => AxisAlignedBB::one()
76 ->squash(Axis::X, 5 / 16)
77 ->trim(Facing::NORTH, 7 / 16)
78 ->trim(Facing::SOUTH, 6 / 16),
79 3 => AxisAlignedBB::one()
80 ->trim(Facing::WEST, 5 / 16)
81 ->trim(Facing::EAST, 6 / 16)
82 ->trim(Facing::NORTH, 6 / 16)
83 ->trim(Facing::SOUTH, 5 / 16),
84 4 => AxisAlignedBB::one()
85 ->squash(Axis::X, 5 / 16)
86 ->trim(Facing::NORTH, 5 / 16)
87 ->trim(Facing::SOUTH, 6 / 16),
89 })->trim(Facing::UP, 10 / 16)
107 if(!$blockReplace->getAdjacentSupportType(
Facing::DOWN)->hasCenterSupport()){
110 $existing = $this->getCandleIfCompatibleType($blockReplace);
111 if($existing !==
null){
112 if($existing->count >= self::MAX_COUNT){
116 $this->count = $existing->count + 1;
117 $this->lit = $existing->lit;
119 return parent::place($tx, $item, $blockReplace, $blockClicked, $face, $clickVector, $player);