Skip to content

Commit

Permalink
Fixed "Biomes O' Plenty" compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
852DuartePls committed Aug 31, 2024
1 parent 74314e9 commit a1e5812
Show file tree
Hide file tree
Showing 58 changed files with 207 additions and 52 deletions.
24 changes: 13 additions & 11 deletions core/src/main/java/me/duart/mctb/blocks/BlockIds.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,19 @@ public class BlockIds {
"bamboo",
"mangrove",
// biomesoplenty:
"bop_cherry",
"dead",
"fir",
"hellbark",
"jacaranda",
"magic",
"mahogany",
"palm",
"redwood",
"umbran",
"willow",
"fir", // fine
"bop_pine", // new block :: biomesoplenty:pine_planks
"bop_maple", // new block :: biomesoplenty:maple_planks
"redwood", // update texture
"mahogany", // update texture
"jacaranda", // update texture
"palm", // fine
"willow", // fine
"dead", // fine
"magic", // fine
"umbran", // update texture
"hellbark", // fine
"empyreal", // new block :: biomesoplenty:empyrean_planks
// quark:
"azalea",
"ancient",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "mctb:block/bop_maple_crafting_table"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "mctb:block/bop_pine_crafting_table"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "mctb:block/empyreal_crafting_table"
}
}
}
4 changes: 3 additions & 1 deletion core/src/main/resources/assets/mctb/lang/en_us.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"block.mctb.mangrove_crafting_table": "Mangrove Crafting Table",
"block.mctb.bamboo_crafting_table": "Bamboo Crafting Table",

"block.mctb.bop_cherry_crafting_table": "Cherry Crafting Table",
"block.mctb.dead_crafting_table": "Dead Crafting Table",
"block.mctb.fir_crafting_table": "Fir Crafting Table",
"block.mctb.hellbark_crafting_table": "Hellbark Crafting Table",
Expand All @@ -22,6 +21,9 @@
"block.mctb.redwood_crafting_table": "Redwood Crafting Table",
"block.mctb.umbran_crafting_table": "Umbran Crafting Table",
"block.mctb.willow_crafting_table": "Willow Crafting Table",
"block.mctb.bop_maple_crafting_table": "Maple Crafting Table",
"block.mctb.bop_pine_crafting_table": "Pine Crafting Table",
"block.mctb.empyreal_crafting_table": "Empyreal Crafting Table",

"block.mctb.azalea_crafting_table": "Azalea Crafting Table",
"block.mctb.cherry_crafting_table": "Cherry Crafting Table",
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parent": "minecraft:block/cube",
"textures": {
"particle": "mctb:block/bop_maple_crafting_table_front",
"up": "mctb:block/bop_maple_crafting_table_top",
"down": "mctb:block/bop_maple_planks",
"north": "mctb:block/bop_maple_crafting_table_front",
"south": "mctb:block/bop_maple_crafting_table_side",
"west": "mctb:block/bop_maple_crafting_table_front",
"east": "mctb:block/bop_maple_crafting_table_side"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parent": "minecraft:block/cube",
"textures": {
"particle": "mctb:block/bop_pine_crafting_table_front",
"up": "mctb:block/bop_pine_crafting_table_top",
"down": "mctb:block/bop_pine_planks",
"north": "mctb:block/bop_pine_crafting_table_front",
"south": "mctb:block/bop_pine_crafting_table_side",
"west": "mctb:block/bop_pine_crafting_table_front",
"east": "mctb:block/bop_pine_crafting_table_side"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"parent": "minecraft:block/cube",
"textures": {
"particle": "mctb:block/empyreal_crafting_table_front",
"up": "mctb:block/empyreal_crafting_table_top",
"down": "mctb:block/empyreal_planks",
"north": "mctb:block/empyreal_crafting_table_front",
"south": "mctb:block/empyreal_crafting_table_side",
"west": "mctb:block/empyreal_crafting_table_front",
"east": "mctb:block/empyreal_crafting_table_side"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "mctb:block/bop_maple_crafting_table"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "mctb:block/bop_pine_crafting_table"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "mctb:block/empyreal_crafting_table"
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 3 additions & 1 deletion core/src/main/resources/data/forge/tags/block/workbench.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"mctb:bamboo_crafting_table",
"mctb:mangrove_crafting_table",

"mctb:bop_cherry_crafting_table",
"mctb:dead_crafting_table",
"mctb:fir_crafting_table",
"mctb:hellbark_crafting_table",
Expand All @@ -23,6 +22,9 @@
"mctb:redwood_crafting_table",
"mctb:umbran_crafting_table",
"mctb:willow_crafting_table",
"mctb:bop_maple_crafting_table",
"mctb:bop_pine_crafting_table",
"mctb:empyreal_crafting_table",

"mctb:azalea_crafting_table",
"mctb:ancient_crafting_table",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"mctb:bamboo_crafting_table",
"mctb:mangrove_crafting_table",

"mctb:bop_cherry_crafting_table",
"mctb:dead_crafting_table",
"mctb:fir_crafting_table",
"mctb:hellbark_crafting_table",
Expand All @@ -23,6 +22,9 @@
"mctb:redwood_crafting_table",
"mctb:umbran_crafting_table",
"mctb:willow_crafting_table",
"mctb:bop_maple_crafting_table",
"mctb:bop_pine_crafting_table",
"mctb:empyreal_crafting_table",

"mctb:azalea_crafting_table",
"mctb:ancient_crafting_table",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "mctb:bop_maple_crafting_table"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "mctb:bop_pine_crafting_table"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:item",
"name": "mctb:empyreal_crafting_table"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"##",
"##"
],
"key": {
"#": {
"item": "biomesoplenty:maple_planks"
}
},
"result": {
"id": "mctb:bop_maple_crafting_table",
"count": 1
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"##",
"##"
],
"key": {
"#": {
"item": "biomesoplenty:pine_planks"
}
},
"result": {
"id": "mctb:bop_pine_crafting_table",
"count": 1
}
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"type": "minecraft:crafting_shaped",
"pattern": [
"##",
"##"
],
"key": {
"#": {
"item": "biomesoplenty:empyreal_planks"
}
},
"result": {
"id": "mctb:empyreal_crafting_table",
"count": 1
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"mctb:bamboo_crafting_table",
"mctb:mangrove_crafting_table",

"mctb:bop_cherry_crafting_table",
"mctb:dead_crafting_table",
"mctb:fir_crafting_table",
"mctb:hellbark_crafting_table",
Expand All @@ -23,6 +22,9 @@
"mctb:redwood_crafting_table",
"mctb:umbran_crafting_table",
"mctb:willow_crafting_table",
"mctb:bop_maple_crafting_table",
"mctb:bop_pine_crafting_table",
"mctb:empyreal_crafting_table",

"mctb:azalea_crafting_table",
"mctb:ancient_crafting_table",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@
"mctb:ru_redwood_crafting_table",
"mctb:socotra_crafting_table",
"mctb:ru_willow_crafting_table",
"mctb:yellow_bioshroom_crafting_table"
"mctb:yellow_bioshroom_crafting_table",
"mctb:bop_maple_crafting_table",
"mctb:bop_pine_crafting_table",
"mctb:empyreal_crafting_table"
]
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
"mctb:bamboo_crafting_table",
"mctb:mangrove_crafting_table",

"mctb:bop_cherry_crafting_table",
"mctb:dead_crafting_table",
"mctb:fir_crafting_table",
"mctb:hellbark_crafting_table",
Expand All @@ -23,6 +22,9 @@
"mctb:redwood_crafting_table",
"mctb:umbran_crafting_table",
"mctb:willow_crafting_table",
"mctb:bop_maple_crafting_table",
"mctb:bop_pine_crafting_table",
"mctb:empyreal_crafting_table",

"mctb:azalea_crafting_table",
"mctb:ancient_crafting_table",
Expand Down
Binary file modified core/src/main/resources/mctb.png
4 changes: 2 additions & 2 deletions forge/src/main/resources/META-INF/mods.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ modId = "mctb"
version = "${version}"
displayName = "${mod_name}"
logoFile="mctb.png"
credits = "${credits}"
credits= "${credits}"
authors='''
P3NG00 = Original creator of the mod for Fabric
852Duarte = Ported for Forge
852Duarte = Ported for Forge and NeoForge
'''

description='''
Expand Down

This file was deleted.

2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ group=com.duart.mctb
java_version=21

minecraft_version=1.21
mod_name=MoreCraftingTables
mod_name=More Crafting Tables
mod_author=DaveDuart (fork), P3NG00 (original author)
mod_id=mctb
license=MIT
Expand Down
Loading

0 comments on commit a1e5812

Please sign in to comment.