Skip to content

Commit 542fa36

Browse files
committed
Add more livingwood/dreamwood blocks/items
- signs and hanging signs - doors and trapdoors - buttons and pressure plates - same functionality as other wooden blocks of those types - missing textures mocked using the dark oak and pale oak equivalents - no recipes until actual textures are available
1 parent 3a7036b commit 542fa36

File tree

114 files changed

+1632
-4
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

114 files changed

+1632
-4
lines changed

Fabric/src/main/java/vazkii/botania/fabric/FabricCommonInitializer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,7 @@ private void registryInit() {
172172
BotaniaBlocks.registerItemBlocks(boundForItem);
173173
BotaniaBlockFlammability.register();
174174
BotaniaBlockEntities.registerTiles(bind(BuiltInRegistries.BLOCK_ENTITY_TYPE));
175+
BotaniaBlockEntities.registerAdditionalBlocks(BlockEntityType::addSupportedBlock);
175176
BotaniaItems.registerItems(boundForItem);
176177
BotaniaBlocks.addDispenserBehaviours();
177178
BotaniaBlocks.addAxeStripping();

NeoForge/src/main/java/vazkii/botania/neoforge/ForgeCommonInitializer.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,11 @@ private void registryInit(RegisterEvent event) {
253253
BotaniaRegistries.BOTANIA_TAB_KEY.location()));
254254
}
255255

256+
@SubscribeEvent
257+
private void registerAdditionalBlockEntityBlocks(BlockEntityTypeAddBlocksEvent event) {
258+
BotaniaBlockEntities.registerAdditionalBlocks(event::modify);
259+
}
260+
256261
private static <T> void runRegistration(RegisterEvent event, ResourceKey<Registry<T>> registryKey, Consumer<Registry<T>> source) {
257262
Registry<T> registry = event.getRegistry(registryKey);
258263
if (registry != null) {

Xplat/src/generated/resources/.cache/2d3ac278621d23318e70b0bc97127bba06eeeb08

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Xplat/src/generated/resources/.cache/78d786698a78a3fae4900a3727160f8869454f97

Lines changed: 52 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Xplat/src/generated/resources/.cache/bfa01a6ca2555c100103725bf5c9e6da285f29c3

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)