-
-
Notifications
You must be signed in to change notification settings - Fork 510
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add WoodTypes for livingwood/dreamwood fence gates
- Loading branch information
1 parent
a6ade76
commit d260d6e
Showing
4 changed files
with
49 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
Xplat/src/main/java/vazkii/botania/common/block/BotaniaBlockSetTypes.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package vazkii.botania.common.block; | ||
|
||
import net.minecraft.world.level.block.state.properties.BlockSetType; | ||
import net.minecraft.world.level.block.state.properties.WoodType; | ||
|
||
import vazkii.botania.xplat.XplatAbstractions; | ||
|
||
public class BotaniaBlockSetTypes { | ||
public static final BlockSetType LIVINGWOOD_BLOCK_SET = XplatAbstractions.INSTANCE.registerWoodBlockSetType("livingwood"); | ||
public static final BlockSetType DREAMWOOD_BLOCK_SET = XplatAbstractions.INSTANCE.registerWoodBlockSetType("dreamwood"); | ||
|
||
public static final WoodType LIVINGWOOD = XplatAbstractions.INSTANCE.registerWoodType("livingwood", LIVINGWOOD_BLOCK_SET); | ||
public static final WoodType DREAMWOOD = XplatAbstractions.INSTANCE.registerWoodType("dreamwood", DREAMWOOD_BLOCK_SET); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters