73 1 => AxisAlignedBB::one()
74 ->squashedCopy(Axis::X, 7 / 16)
75 ->squashedCopy(Axis::Z, 7 / 16),
76 2 => AxisAlignedBB::one()
77 ->squashedCopy(Axis::X, 5 / 16)
78 ->trimmedCopy(Facing::NORTH, 7 / 16)
79 ->trimmedCopy(Facing::SOUTH, 6 / 16),
80 3 => AxisAlignedBB::one()
81 ->trimmedCopy(Facing::WEST, 5 / 16)
82 ->trimmedCopy(Facing::EAST, 6 / 16)
83 ->trimmedCopy(Facing::NORTH, 6 / 16)
84 ->trimmedCopy(Facing::SOUTH, 5 / 16),
85 4 => AxisAlignedBB::one()
86 ->squashedCopy(Axis::X, 5 / 16)
87 ->trimmedCopy(Facing::NORTH, 5 / 16)
88 ->trimmedCopy(Facing::SOUTH, 6 / 16),
90 })->trimmedCopy(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);