Skip to content

Commit

Permalink
feat: add Flesh Pillar
Browse files Browse the repository at this point in the history
Author: RhinoW
Co-authored-by: Elenterius <w.elenterius@gmail.com>
  • Loading branch information
Elenterius committed Jun 16, 2023
1 parent d7e17f2 commit 33d3c96
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ private void addBlockTranslations() {
addBlock(ModBlocks.FULL_FLESH_DOOR, "Wide Flesh Door", "A wide sliding door made of flesh...");
addBlock(ModBlocks.FLESH_SPIKE, "Flesh Spike", "A dangerous spike made of reinforced bone and flesh, colliding with it will hurt. Several spikes can be placed in one spot.");
addBlock(ModBlocks.FLESH_LADDER, "Flesh Ladder", "Ladder mainly made of bones and a little bit of flesh...");
addBlock(ModBlocks.FLESH_PILLAR, "Flesh Pillar", "A Pillar made of bones and flesh.");
addBlock(ModBlocks.BIO_LANTERN, "Bioluminescent Lantern", "Biological light source.");
addBlock(ModBlocks.TENDON_CHAIN, "Tendon Chain", "Chain made of tendons.");

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ protected void addTables() {
dropSelf(ModBlocks.FLESH_FENCE.get());
dropSelf(ModBlocks.FLESH_FENCE_GATE.get());
dropSelf(ModBlocks.FLESH_LADDER.get());
dropSelf(ModBlocks.FLESH_PILLAR.get());
dropSelf(ModBlocks.BIO_LANTERN.get());
dropSelf(ModBlocks.TENDON_CHAIN.get());

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ protected void registerStatesAndModels() {
irisDoor(ModBlocks.FLESH_IRIS_DOOR.get(), true);
fleshDoor();

axisBlock(ModBlocks.FLESH_PILLAR.get());

storageSac(ModBlocks.STORAGE_SAC.get());

geckolibModel(ModBlocks.FLESH_SPIKE.get());
Expand Down
2 changes: 2 additions & 0 deletions src/generated/resources/assets/biomancy/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,8 @@
"block.biomancy.flesh_spike.tooltip": "A dangerous spike made of reinforced bone and flesh, colliding with it will hurt. Several spikes can be placed in one spot.",
"block.biomancy.flesh_ladder": "Flesh Ladder",
"block.biomancy.flesh_ladder.tooltip": "Ladder mainly made of bones and a little bit of flesh...",
"block.biomancy.flesh_pillar": "Flesh Pillar",
"block.biomancy.flesh_pillar.tooltip": "A Pillar made of bones and flesh.",
"block.biomancy.bio_lantern": "Bioluminescent Lantern",
"block.biomancy.bio_lantern.tooltip": "Biological light source.",
"block.biomancy.tendon_chain": "Tendon Chain",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ public final class ModBlocks {
public static final RegistryObject<VoiceBoxBlock> VOICE_BOX = register("voice_box", VoiceBoxBlock::new);
public static final RegistryObject<LadderBlock> FLESH_LADDER = register("flesh_ladder", () -> new LadderBlock(createFleshyBoneProperties().noOcclusion()));
public static final RegistryObject<FleshFenceBlock> FLESH_FENCE = register("flesh_fence", FleshFenceBlock::new);
public static final RegistryObject<RotatedPillarBlock> FLESH_PILLAR = register("flesh_pillar", RotatedPillarBlock::new);
public static final RegistryObject<FleshFenceGateBlock> FLESH_FENCE_GATE = register("flesh_fence_gate", () -> new FleshFenceGateBlock(createFleshyBoneProperties().noOcclusion()));
public static final RegistryObject<IrisDoorBlock> FLESH_IRIS_DOOR = register("flesh_iris_door", IrisDoorBlock::new);
public static final RegistryObject<FleshDoorBlock> FLESH_DOOR = register("flesh_door", FleshDoorBlock::new);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ public final class ModItems {
public static final RegistryObject<SimpleBlockItem> VOICE_BOX = registerSimpleBlockItem(ModBlocks.VOICE_BOX, () -> createProperties().tab(null));
public static final RegistryObject<SimpleBlockItem> FLESH_LADDER = registerSimpleBlockItem(ModBlocks.FLESH_LADDER);
public static final RegistryObject<SimpleBlockItem> FLESH_FENCE = registerSimpleBlockItem(ModBlocks.FLESH_FENCE);
public static final RegistryObject<SimpleBlockItem> FLESH_PILLAR = registerSimpleBlockItem(ModBlocks.FLESH_PILLAR);
public static final RegistryObject<SimpleBlockItem> FLESH_FENCE_GATE = registerSimpleBlockItem(ModBlocks.FLESH_FENCE_GATE);
public static final RegistryObject<SimpleBlockItem> FLESH_IRIS_DOOR = registerSimpleBlockItem(ModBlocks.FLESH_IRIS_DOOR);
public static final RegistryObject<SimpleBlockItem> FLESH_DOOR = registerSimpleBlockItem(ModBlocks.FLESH_DOOR);
Expand Down
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 33d3c96

Please sign in to comment.