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