-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c33edb0
commit c0805c4
Showing
12 changed files
with
500 additions
and
71 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
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
22 changes: 0 additions & 22 deletions
22
src/main/java/com/lumiscosity/rounded/compat/BetterEndCompat.java
This file was deleted.
Oops, something went wrong.
84 changes: 84 additions & 0 deletions
84
src/main/java/com/lumiscosity/rounded/compat/BetterendCompat.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,84 @@ | ||
package com.lumiscosity.rounded.compat; | ||
|
||
import net.minecraft.block.AbstractBlock; | ||
import net.minecraft.block.Block; | ||
import net.minecraft.item.BlockItem; | ||
import net.minecraft.item.Item; | ||
import net.minecraft.registry.Registries; | ||
import net.minecraft.util.Identifier; | ||
|
||
import static com.lumiscosity.rounded.blocks.RegisterBlocks.register_treated_plank; | ||
|
||
public class BetterendCompat { | ||
public static final Block TREATED_DRAGON_TREE_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betterend", "dragon_tree_planks"))) | ||
); | ||
public static final Item TREATED_DRAGON_TREE_PLANKS_ITEM = new BlockItem(TREATED_DRAGON_TREE_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_END_LOTUS_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betterend", "end_lotus_planks"))) | ||
); | ||
public static final Item TREATED_END_LOTUS_PLANKS_ITEM = new BlockItem(TREATED_END_LOTUS_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_HELIX_TREE_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betterend", "helix_tree_planks"))) | ||
); | ||
public static final Item TREATED_HELIX_TREE_PLANKS_ITEM = new BlockItem(TREATED_HELIX_TREE_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_JELLYSHROOM_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betterend", "jellyshroom_planks"))) | ||
); | ||
public static final Item TREATED_JELLYSHROOM_PLANKS_ITEM = new BlockItem(TREATED_JELLYSHROOM_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_LACUGROVE_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betterend", "lacugrove_planks"))) | ||
); | ||
public static final Item TREATED_LACUGROVE_PLANKS_ITEM = new BlockItem(TREATED_LACUGROVE_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_LUCERNIA_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betterend", "lucernia_planks"))) | ||
); | ||
public static final Item TREATED_LUCERNIA_PLANKS_ITEM = new BlockItem(TREATED_LUCERNIA_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_MOSSY_GLOWSHROOM_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betterend", "mossy_glowshroom_planks"))) | ||
); | ||
public static final Item TREATED_MOSSY_GLOWSHROOM_PLANKS_ITEM = new BlockItem(TREATED_MOSSY_GLOWSHROOM_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_PYTHADENDRON_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betterend", "pythadendron_planks"))) | ||
); | ||
public static final Item TREATED_PYTHADENDRON_PLANKS_ITEM = new BlockItem(TREATED_PYTHADENDRON_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_TENANEA_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betterend", "tenanea_planks"))) | ||
); | ||
public static final Item TREATED_TENANEA_PLANKS_ITEM = new BlockItem(TREATED_TENANEA_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_UMBRELLA_TREE_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betterend", "umbrella_tree_planks"))) | ||
); | ||
public static final Item TREATED_UMBRELLA_TREE_PLANKS_ITEM = new BlockItem(TREATED_UMBRELLA_TREE_PLANKS, new Item.Settings()); | ||
|
||
public static void register() { register_treated_plank("compat/betterend/treated_dragon_tree_planks", TREATED_DRAGON_TREE_PLANKS, TREATED_DRAGON_TREE_PLANKS_ITEM, "betterend", "dragon_tree"); | ||
register_treated_plank("compat/betterend/treated_end_lotus_planks", TREATED_END_LOTUS_PLANKS, TREATED_END_LOTUS_PLANKS_ITEM, "betterend", "end_lotus"); | ||
register_treated_plank("compat/betterend/treated_helix_tree_planks", TREATED_HELIX_TREE_PLANKS, TREATED_HELIX_TREE_PLANKS_ITEM, "betterend", "helix_tree"); | ||
register_treated_plank("compat/betterend/treated_jellyshroom_planks", TREATED_JELLYSHROOM_PLANKS, TREATED_JELLYSHROOM_PLANKS_ITEM, "betterend", "jellyshroom"); | ||
register_treated_plank("compat/betterend/treated_lacugrove_planks", TREATED_LACUGROVE_PLANKS, TREATED_LACUGROVE_PLANKS_ITEM, "betterend", "lacugrove"); | ||
register_treated_plank("compat/betterend/treated_lucernia_planks", TREATED_LUCERNIA_PLANKS, TREATED_LUCERNIA_PLANKS_ITEM, "betterend", "lucernia"); | ||
register_treated_plank("compat/betterend/treated_mossy_glowshroom_planks", TREATED_MOSSY_GLOWSHROOM_PLANKS, TREATED_MOSSY_GLOWSHROOM_PLANKS_ITEM, "betterend", "mossy_glowshroom"); | ||
register_treated_plank("compat/betterend/treated_pythadendron_planks", TREATED_PYTHADENDRON_PLANKS, TREATED_PYTHADENDRON_PLANKS_ITEM, "betterend", "pythadendron"); | ||
register_treated_plank("compat/betterend/treated_tenanea_planks", TREATED_TENANEA_PLANKS, TREATED_TENANEA_PLANKS_ITEM, "betterend", "tenanea"); | ||
register_treated_plank("compat/betterend/treated_umbrella_tree_planks", TREATED_UMBRELLA_TREE_PLANKS, TREATED_UMBRELLA_TREE_PLANKS_ITEM, "betterend", "umbrella_tree"); | ||
|
||
} | ||
} |
77 changes: 77 additions & 0 deletions
77
src/main/java/com/lumiscosity/rounded/compat/BetternetherCompat.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,77 @@ | ||
package com.lumiscosity.rounded.compat; | ||
|
||
import net.minecraft.block.AbstractBlock; | ||
import net.minecraft.block.Block; | ||
import net.minecraft.item.BlockItem; | ||
import net.minecraft.item.Item; | ||
import net.minecraft.registry.Registries; | ||
import net.minecraft.util.Identifier; | ||
|
||
import static com.lumiscosity.rounded.blocks.RegisterBlocks.register_treated_plank; | ||
|
||
public class BetternetherCompat { | ||
public static final Block TREATED_ANCHOR_TREE_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betternether", "anchor_tree_planks"))) | ||
); | ||
public static final Item TREATED_ANCHOR_TREE_PLANKS_ITEM = new BlockItem(TREATED_ANCHOR_TREE_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_MUSHROOM_FIR_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betternether", "mushroom_fir_planks"))) | ||
); | ||
public static final Item TREATED_MUSHROOM_FIR_PLANKS_ITEM = new BlockItem(TREATED_MUSHROOM_FIR_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_NETHER_MUSHROOM_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betternether", "nether_mushroom_planks"))) | ||
); | ||
public static final Item TREATED_NETHER_MUSHROOM_PLANKS_ITEM = new BlockItem(TREATED_NETHER_MUSHROOM_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_NETHER_REED_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betternether", "nether_reed_planks"))) | ||
); | ||
public static final Item TREATED_NETHER_REED_PLANKS_ITEM = new BlockItem(TREATED_NETHER_REED_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_NETHER_SAKURA_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betternether", "nether_sakura_planks"))) | ||
); | ||
public static final Item TREATED_NETHER_SAKURA_PLANKS_ITEM = new BlockItem(TREATED_NETHER_SAKURA_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_RUBEUS_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betternether", "rubeus_planks"))) | ||
); | ||
public static final Item TREATED_RUBEUS_PLANKS_ITEM = new BlockItem(TREATED_RUBEUS_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_STALAGNATE_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betternether", "stalagnate_planks"))) | ||
); | ||
public static final Item TREATED_STALAGNATE_PLANKS_ITEM = new BlockItem(TREATED_STALAGNATE_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_WART_PLANKS_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betternether", "wart_planks_planks"))) | ||
); | ||
public static final Item TREATED_WART_PLANKS_PLANKS_ITEM = new BlockItem(TREATED_WART_PLANKS_PLANKS, new Item.Settings()); | ||
|
||
|
||
public static final Block TREATED_WILLOW_PLANKS_PLANKS = new Block( | ||
AbstractBlock.Settings.copy(Registries.BLOCK.get(Identifier.of("betternether", "willow_planks_planks"))) | ||
); | ||
public static final Item TREATED_WILLOW_PLANKS_PLANKS_ITEM = new BlockItem(TREATED_WILLOW_PLANKS_PLANKS, new Item.Settings()); | ||
|
||
public static void register() { register_treated_plank("compat/betternether/treated_anchor_tree_planks", TREATED_ANCHOR_TREE_PLANKS, TREATED_ANCHOR_TREE_PLANKS_ITEM, "betternether", "anchor_tree"); | ||
register_treated_plank("compat/betternether/treated_mushroom_fir_planks", TREATED_MUSHROOM_FIR_PLANKS, TREATED_MUSHROOM_FIR_PLANKS_ITEM, "betternether", "mushroom_fir"); | ||
register_treated_plank("compat/betternether/treated_nether_mushroom_planks", TREATED_NETHER_MUSHROOM_PLANKS, TREATED_NETHER_MUSHROOM_PLANKS_ITEM, "betternether", "nether_mushroom"); | ||
register_treated_plank("compat/betternether/treated_nether_reed_planks", TREATED_NETHER_REED_PLANKS, TREATED_NETHER_REED_PLANKS_ITEM, "betternether", "nether_reed"); | ||
register_treated_plank("compat/betternether/treated_nether_sakura_planks", TREATED_NETHER_SAKURA_PLANKS, TREATED_NETHER_SAKURA_PLANKS_ITEM, "betternether", "nether_sakura"); | ||
register_treated_plank("compat/betternether/treated_rubeus_planks", TREATED_RUBEUS_PLANKS, TREATED_RUBEUS_PLANKS_ITEM, "betternether", "rubeus"); | ||
register_treated_plank("compat/betternether/treated_stalagnate_planks", TREATED_STALAGNATE_PLANKS, TREATED_STALAGNATE_PLANKS_ITEM, "betternether", "stalagnate"); | ||
register_treated_plank("compat/betternether/treated_wart_planks_planks", TREATED_WART_PLANKS_PLANKS, TREATED_WART_PLANKS_PLANKS_ITEM, "betternether", "wart_planks"); | ||
register_treated_plank("compat/betternether/treated_willow_planks_planks", TREATED_WILLOW_PLANKS_PLANKS, TREATED_WILLOW_PLANKS_PLANKS_ITEM, "betternether", "willow_planks"); | ||
|
||
} | ||
} |
Oops, something went wrong.