2121
2222use Hebbinkpro \PocketMap \textures \model \flat \BrewingStandModel ;
2323use Hebbinkpro \PocketMap \textures \model \flat \CropsModel ;
24+ use Hebbinkpro \PocketMap \textures \model \flat \FireModel ;
2425use Hebbinkpro \PocketMap \textures \model \flat \FlatCrossModel ;
2526use Hebbinkpro \PocketMap \textures \model \flat \FlatHorizontalFacingModel ;
2627use Hebbinkpro \PocketMap \textures \model \flat \ItemFrameModel ;
4041use pocketmine \block \Fence ;
4142use pocketmine \block \FenceGate ;
4243use pocketmine \block \FloorBanner ;
44+ use pocketmine \block \FloorCoralFan ;
4345use pocketmine \block \FloorSign ;
4446use pocketmine \block \Flowable ;
4547use pocketmine \block \Flower ;
@@ -99,12 +101,12 @@ private function registerAll(): void
99101 $ this ->register (VanillaBlocks::LAVA (), new FullBlockModel ());
100102 $ this ->register (VanillaBlocks::BIG_DRIPLEAF_STEM (), new FlatCrossModel ());
101103 $ this ->register (VanillaBlocks::BREWING_STAND (), new FlatCrossModel ());
102- $ this ->register (VanillaBlocks::AMETHYST_CLUSTER (), new FlatCrossModel ());
104+ $ this ->register (VanillaBlocks::AMETHYST_CLUSTER (), new AmethystClusterModel ());
103105 $ this ->register (VanillaBlocks::PITCHER_CROP (), new FullBlockModel ());
104106 $ this ->register (VanillaBlocks::END_ROD (), new EndRodModel ());
105- $ this ->register (VanillaBlocks::CHEST (), new FullBlockModel ()); // TODO double chests
106- $ this ->register (VanillaBlocks::TRAPPED_CHEST (), new FullBlockModel ());
107- $ this ->register (VanillaBlocks::ENDER_CHEST (), new FullBlockModel ());
107+ $ this ->register (VanillaBlocks::CHEST (), new FullBlockModel ()); // TODO use the entity textures
108+ $ this ->register (VanillaBlocks::TRAPPED_CHEST (), new FullBlockModel ()); // TODO use the entity textures
109+ $ this ->register (VanillaBlocks::ENDER_CHEST (), new FullBlockModel ()); // TODO use the entity textures
108110 $ this ->register (VanillaBlocks::CAKE (), new FullBlockModel ());
109111 $ this ->register (VanillaBlocks::CAKE_WITH_CANDLE (), new FullBlockModel ());
110112 $ this ->register (VanillaBlocks::CAKE_WITH_DYED_CANDLE (), new FullBlockModel ());
@@ -123,7 +125,6 @@ private function registerAll(): void
123125 $ this ->register (VanillaBlocks::REDSTONE_WIRE (), new FullBlockModel ());
124126 $ this ->register (VanillaBlocks::REDSTONE (), new FullBlockModel ());
125127 $ this ->register (VanillaBlocks::TRIPWIRE (), new FullBlockModel ());
126- $ this ->register (VanillaBlocks::MOB_HEAD (), new FullBlockModel ());
127128 $ this ->register (VanillaBlocks::LADDER (), new FlatHorizontalFacingModel ());
128129 $ this ->register (VanillaBlocks::SNOW_LAYER (), new FullBlockModel ());
129130 $ this ->register (VanillaBlocks::BAMBOO (), new BambooModel ());
@@ -134,22 +135,20 @@ private function registerAll(): void
134135 $ this ->register (VanillaBlocks::DRAGON_EGG (), new CenteredBlockModel (14 ));
135136 $ this ->register (VanillaBlocks::NETHER_WART (), new CropsModel ());
136137 $ this ->register (VanillaBlocks::SWEET_BERRY_BUSH (), new FlatCrossModel ());
137- // TODO (Soul) Fire
138- // TODO (Soul) Lantern
139- // TODO Lectern
140- // TODO Nether portal
141- // TODO Redstone
142- // TODO Sea Lantern
143- // TODO Mob Head
144- // TODO Tripwire
138+ $ this ->register (VanillaBlocks::FIRE (), new FireModel ());
139+ $ this ->register (VanillaBlocks::SOUL_FIRE (), new FireModel ());
140+ $ this ->register (VanillaBlocks::LANTERN (), new LanternModel ());
141+ $ this ->register (VanillaBlocks::SOUL_LANTERN (), new LanternModel ());
142+ $ this ->register (VanillaBlocks::LECTERN (), new LecternModel ());
143+ $ this ->register (VanillaBlocks::NETHER_PORTAL (), new NetherPortalModel ());
144+ $ this ->register (VanillaBlocks::REDSTONE_WIRE (), new RedstoneModel ());
145+ $ this ->register (VanillaBlocks::MOB_HEAD (), new CenteredBlockModel (8 )); // TODO use the entity textures
146+ $ this ->register (VanillaBlocks::TRIPWIRE (), new NoModel ());
145147 // TODO Tripwire Hook
146- // TODO Floor Coral Fan
147- // TODO Sculk
148- // TODO Chain
149- // TODO Small Dripleaf
150- // TODO Big Dripleaf
151- // TODO Spore Blossom
152- // TODO Chorus Flower
148+ $ this ->register (VanillaBlocks::CHAIN (), new ChainModel ());
149+ $ this ->register (VanillaBlocks::SMALL_DRIPLEAF (), new SmallDripleafModel ());
150+ $ this ->register (VanillaBlocks::SPORE_BLOSSOM (), new NoModel ()); // should be place on the underside of a block
151+ $ this ->register (VanillaBlocks::CHORUS_FLOWER (), new ChorusFlowerModel ());
153152
154153 // register block types
155154 $ this ->registerClass (Fence::class, new FenceModel ());
@@ -175,6 +174,7 @@ private function registerAll(): void
175174 $ this ->registerClass (Campfire::class, new CampfireModel ());
176175 $ this ->registerClass (Stem::class, new StemModel ()); // should be defined before Crops
177176 $ this ->registerClass (Crops::class, new CropsModel ());
177+ $ this ->registerClass (FloorCoralFan::class, new FloorCoralFanModel ());
178178
179179 // register traits
180180 $ this ->registerTrait (HorizontalFacingTrait::class, new HorizontalFacingModel ());
0 commit comments