Update to 1.21.3

This commit is contained in:
Vos
2026-03-15 17:10:24 -05:00
parent 582a614042
commit 43f9f7760d
202 changed files with 1413 additions and 1644 deletions
+3 -4
View File
@@ -35,10 +35,9 @@ dependencies {
// Fabric API. This is technically optional, but you probably want it anyway. // Fabric API. This is technically optional, but you probably want it anyway.
modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}" modImplementation "net.fabricmc.fabric-api:fabric-api:${project.fabric_version}"
modCompileOnly "me.shedaniel:RoughlyEnoughItems-api-fabric:16.0.777" modApi "me.shedaniel:RoughlyEnoughItems-fabric:17.0.807"
modRuntimeOnly "me.shedaniel:RoughlyEnoughItems-fabric:16.0.777" modApi "dev.architectury:architectury-fabric:14.0.4"
modApi "dev.architectury:architectury-fabric:13.0.8" modApi "me.shedaniel.cloth:cloth-config-fabric:16.0.143"
modApi "me.shedaniel.cloth:cloth-config-fabric:15.0.140"
} }
processResources { processResources {
+3 -3
View File
@@ -4,13 +4,13 @@ org.gradle.parallel=true
# Fabric Properties # Fabric Properties
# check these on https://fabricmc.net/develop # check these on https://fabricmc.net/develop
minecraft_version=1.21.1 minecraft_version=1.21.3
yarn_mappings=1.21.1+build.3 yarn_mappings=1.21.3+build.2
loader_version=0.18.4 loader_version=0.18.4
loom_version=1.15-SNAPSHOT loom_version=1.15-SNAPSHOT
# Fabric API # Fabric API
fabric_version=0.116.8+1.21.1 fabric_version=0.114.1+1.21.3
# Mod Properties # Mod Properties
mod_version=2.0.0 mod_version=2.0.0
@@ -13,7 +13,7 @@
}, },
"has_the_recipe": { "has_the_recipe": {
"conditions": { "conditions": {
"recipe": "acesbs:infernal_ashes" "recipe": "minecraft:infernal_ashes"
}, },
"trigger": "minecraft:recipe_unlocked" "trigger": "minecraft:recipe_unlocked"
} }
@@ -26,7 +26,7 @@
], ],
"rewards": { "rewards": {
"recipes": [ "recipes": [
"acesbs:infernal_ashes" "minecraft:infernal_ashes"
] ]
} }
} }
@@ -13,7 +13,7 @@
}, },
"has_the_recipe": { "has_the_recipe": {
"conditions": { "conditions": {
"recipe": "acesbs:prisma_steel" "recipe": "minecraft:prisma_steel"
}, },
"trigger": "minecraft:recipe_unlocked" "trigger": "minecraft:recipe_unlocked"
} }
@@ -26,7 +26,7 @@
], ],
"rewards": { "rewards": {
"recipes": [ "recipes": [
"acesbs:prisma_steel" "minecraft:prisma_steel"
] ]
} }
} }
@@ -13,7 +13,7 @@
}, },
"has_the_recipe": { "has_the_recipe": {
"conditions": { "conditions": {
"recipe": "acesbs:raw_endtropy" "recipe": "minecraft:raw_endtropy"
}, },
"trigger": "minecraft:recipe_unlocked" "trigger": "minecraft:recipe_unlocked"
} }
@@ -26,7 +26,7 @@
], ],
"rewards": { "rewards": {
"recipes": [ "recipes": [
"acesbs:raw_endtropy" "minecraft:raw_endtropy"
] ]
} }
} }
@@ -13,7 +13,7 @@
}, },
"has_the_recipe": { "has_the_recipe": {
"conditions": { "conditions": {
"recipe": "acesbs:raw_entropy" "recipe": "minecraft:raw_entropy"
}, },
"trigger": "minecraft:recipe_unlocked" "trigger": "minecraft:recipe_unlocked"
} }
@@ -26,7 +26,7 @@
], ],
"rewards": { "rewards": {
"recipes": [ "recipes": [
"acesbs:raw_entropy" "minecraft:raw_entropy"
] ]
} }
} }
@@ -13,7 +13,7 @@
}, },
"has_the_recipe": { "has_the_recipe": {
"conditions": { "conditions": {
"recipe": "acesbs:stable_endtropy" "recipe": "minecraft:stable_endtropy"
}, },
"trigger": "minecraft:recipe_unlocked" "trigger": "minecraft:recipe_unlocked"
} }
@@ -26,7 +26,7 @@
], ],
"rewards": { "rewards": {
"recipes": [ "recipes": [
"acesbs:stable_endtropy" "minecraft:stable_endtropy"
] ]
} }
} }
@@ -13,7 +13,7 @@
}, },
"has_the_recipe": { "has_the_recipe": {
"conditions": { "conditions": {
"recipe": "acesbs:stable_entropy" "recipe": "minecraft:stable_entropy"
}, },
"trigger": "minecraft:recipe_unlocked" "trigger": "minecraft:recipe_unlocked"
} }
@@ -26,7 +26,7 @@
], ],
"rewards": { "rewards": {
"recipes": [ "recipes": [
"acesbs:stable_entropy" "minecraft:stable_entropy"
] ]
} }
} }
@@ -13,7 +13,7 @@
}, },
"has_the_recipe": { "has_the_recipe": {
"conditions": { "conditions": {
"recipe": "acesbs:infernal_ashes_block" "recipe": "minecraft:infernal_ashes_block"
}, },
"trigger": "minecraft:recipe_unlocked" "trigger": "minecraft:recipe_unlocked"
} }
@@ -26,7 +26,7 @@
], ],
"rewards": { "rewards": {
"recipes": [ "recipes": [
"acesbs:infernal_ashes_block" "minecraft:infernal_ashes_block"
] ]
} }
} }
@@ -13,7 +13,7 @@
}, },
"has_the_recipe": { "has_the_recipe": {
"conditions": { "conditions": {
"recipe": "acesbs:prisma_steel_block" "recipe": "minecraft:prisma_steel_block"
}, },
"trigger": "minecraft:recipe_unlocked" "trigger": "minecraft:recipe_unlocked"
} }
@@ -26,7 +26,7 @@
], ],
"rewards": { "rewards": {
"recipes": [ "recipes": [
"acesbs:prisma_steel_block" "minecraft:prisma_steel_block"
] ]
} }
} }
@@ -13,7 +13,7 @@
}, },
"has_the_recipe": { "has_the_recipe": {
"conditions": { "conditions": {
"recipe": "acesbs:raw_endtropy_block" "recipe": "minecraft:raw_endtropy_block"
}, },
"trigger": "minecraft:recipe_unlocked" "trigger": "minecraft:recipe_unlocked"
} }
@@ -26,7 +26,7 @@
], ],
"rewards": { "rewards": {
"recipes": [ "recipes": [
"acesbs:raw_endtropy_block" "minecraft:raw_endtropy_block"
] ]
} }
} }
@@ -13,7 +13,7 @@
}, },
"has_the_recipe": { "has_the_recipe": {
"conditions": { "conditions": {
"recipe": "acesbs:raw_entropy_block" "recipe": "minecraft:raw_entropy_block"
}, },
"trigger": "minecraft:recipe_unlocked" "trigger": "minecraft:recipe_unlocked"
} }
@@ -26,7 +26,7 @@
], ],
"rewards": { "rewards": {
"recipes": [ "recipes": [
"acesbs:raw_entropy_block" "minecraft:raw_entropy_block"
] ]
} }
} }
@@ -13,7 +13,7 @@
}, },
"has_the_recipe": { "has_the_recipe": {
"conditions": { "conditions": {
"recipe": "acesbs:stable_endtropy_block" "recipe": "minecraft:stable_endtropy_block"
}, },
"trigger": "minecraft:recipe_unlocked" "trigger": "minecraft:recipe_unlocked"
} }
@@ -26,7 +26,7 @@
], ],
"rewards": { "rewards": {
"recipes": [ "recipes": [
"acesbs:stable_endtropy_block" "minecraft:stable_endtropy_block"
] ]
} }
} }
@@ -13,7 +13,7 @@
}, },
"has_the_recipe": { "has_the_recipe": {
"conditions": { "conditions": {
"recipe": "acesbs:stable_entropy_block" "recipe": "minecraft:stable_entropy_block"
}, },
"trigger": "minecraft:recipe_unlocked" "trigger": "minecraft:recipe_unlocked"
} }
@@ -26,7 +26,7 @@
], ],
"rewards": { "rewards": {
"recipes": [ "recipes": [
"acesbs:stable_entropy_block" "minecraft:stable_entropy_block"
] ]
} }
} }
@@ -13,7 +13,7 @@
}, },
"has_the_recipe": { "has_the_recipe": {
"conditions": { "conditions": {
"recipe": "acesbs:cooked_lemon_from_campfire_cooking" "recipe": "minecraft:cooked_lemon_from_campfire_cooking"
}, },
"trigger": "minecraft:recipe_unlocked" "trigger": "minecraft:recipe_unlocked"
} }
@@ -26,7 +26,7 @@
], ],
"rewards": { "rewards": {
"recipes": [ "recipes": [
"acesbs:cooked_lemon_from_campfire_cooking" "minecraft:cooked_lemon_from_campfire_cooking"
] ]
} }
} }
@@ -13,7 +13,7 @@
}, },
"has_the_recipe": { "has_the_recipe": {
"conditions": { "conditions": {
"recipe": "acesbs:cooked_lemon_from_smelting" "recipe": "minecraft:cooked_lemon_from_smelting"
}, },
"trigger": "minecraft:recipe_unlocked" "trigger": "minecraft:recipe_unlocked"
} }
@@ -26,7 +26,7 @@
], ],
"rewards": { "rewards": {
"recipes": [ "recipes": [
"acesbs:cooked_lemon_from_smelting" "minecraft:cooked_lemon_from_smelting"
] ]
} }
} }
@@ -13,7 +13,7 @@
}, },
"has_the_recipe": { "has_the_recipe": {
"conditions": { "conditions": {
"recipe": "acesbs:cooked_lemon_from_smoking" "recipe": "minecraft:cooked_lemon_from_smoking"
}, },
"trigger": "minecraft:recipe_unlocked" "trigger": "minecraft:recipe_unlocked"
} }
@@ -26,7 +26,7 @@
], ],
"rewards": { "rewards": {
"recipes": [ "recipes": [
"acesbs:cooked_lemon_from_smoking" "minecraft:cooked_lemon_from_smoking"
] ]
} }
} }
@@ -36,6 +36,10 @@
{ {
"bonus_rolls": 0.0, "bonus_rolls": 0.0,
"conditions": [ "conditions": [
{
"chance": 0.1,
"condition": "minecraft:random_chance"
},
{ {
"condition": "minecraft:inverted", "condition": "minecraft:inverted",
"term": { "term": {
@@ -65,11 +69,6 @@
} }
], ],
"entries": [ "entries": [
{
"type": "minecraft:item",
"name": "minecraft:air",
"weight": 360
},
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "minecraft:coal", "name": "minecraft:coal",
@@ -123,11 +122,7 @@
"function": "minecraft:explosion_decay" "function": "minecraft:explosion_decay"
} }
], ],
"rolls": { "rolls": 1.0
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
}
}, },
{ {
"bonus_rolls": 0.0, "bonus_rolls": 0.0,
@@ -149,18 +144,6 @@
} }
} }
} }
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:match_tool",
"predicate": {
"items": [
"acesbs:prisma_steel_pickaxe",
"acesbs:prisma_steel_hammer"
]
}
}
} }
], ],
"entries": [ "entries": [
@@ -36,6 +36,10 @@
{ {
"bonus_rolls": 0.0, "bonus_rolls": 0.0,
"conditions": [ "conditions": [
{
"chance": 0.1,
"condition": "minecraft:random_chance"
},
{ {
"condition": "minecraft:inverted", "condition": "minecraft:inverted",
"term": { "term": {
@@ -65,11 +69,6 @@
} }
], ],
"entries": [ "entries": [
{
"type": "minecraft:item",
"name": "minecraft:air",
"weight": 360
},
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "minecraft:coal", "name": "minecraft:coal",
@@ -123,11 +122,7 @@
"function": "minecraft:explosion_decay" "function": "minecraft:explosion_decay"
} }
], ],
"rolls": { "rolls": 1.0
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
}
}, },
{ {
"bonus_rolls": 0.0, "bonus_rolls": 0.0,
@@ -149,18 +144,6 @@
} }
} }
} }
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:match_tool",
"predicate": {
"items": [
"acesbs:prisma_steel_pickaxe",
"acesbs:prisma_steel_hammer"
]
}
}
} }
], ],
"entries": [ "entries": [
@@ -36,6 +36,10 @@
{ {
"bonus_rolls": 0.0, "bonus_rolls": 0.0,
"conditions": [ "conditions": [
{
"chance": 0.1,
"condition": "minecraft:random_chance"
},
{ {
"condition": "minecraft:inverted", "condition": "minecraft:inverted",
"term": { "term": {
@@ -65,11 +69,6 @@
} }
], ],
"entries": [ "entries": [
{
"type": "minecraft:item",
"name": "minecraft:air",
"weight": 360
},
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "minecraft:coal", "name": "minecraft:coal",
@@ -123,11 +122,7 @@
"function": "minecraft:explosion_decay" "function": "minecraft:explosion_decay"
} }
], ],
"rolls": { "rolls": 1.0
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
}
}, },
{ {
"bonus_rolls": 0.0, "bonus_rolls": 0.0,
@@ -149,18 +144,6 @@
} }
} }
} }
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:match_tool",
"predicate": {
"items": [
"acesbs:prisma_steel_pickaxe",
"acesbs:prisma_steel_hammer"
]
}
}
} }
], ],
"entries": [ "entries": [
@@ -36,6 +36,10 @@
{ {
"bonus_rolls": 0.0, "bonus_rolls": 0.0,
"conditions": [ "conditions": [
{
"chance": 0.1,
"condition": "minecraft:random_chance"
},
{ {
"condition": "minecraft:inverted", "condition": "minecraft:inverted",
"term": { "term": {
@@ -65,11 +69,6 @@
} }
], ],
"entries": [ "entries": [
{
"type": "minecraft:item",
"name": "minecraft:air",
"weight": 360
},
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "minecraft:coal", "name": "minecraft:coal",
@@ -123,11 +122,7 @@
"function": "minecraft:explosion_decay" "function": "minecraft:explosion_decay"
} }
], ],
"rolls": { "rolls": 1.0
"type": "minecraft:uniform",
"max": 3.0,
"min": 1.0
}
}, },
{ {
"bonus_rolls": 0.0, "bonus_rolls": 0.0,
@@ -149,18 +144,6 @@
} }
} }
} }
},
{
"condition": "minecraft:inverted",
"term": {
"condition": "minecraft:match_tool",
"predicate": {
"items": [
"acesbs:prisma_steel_pickaxe",
"acesbs:prisma_steel_hammer"
]
}
}
} }
], ],
"entries": [ "entries": [
@@ -1,12 +1,6 @@
{ {
"type": "minecraft:smithing_trim", "type": "minecraft:smithing_trim",
"addition": { "addition": "#minecraft:trim_materials",
"tag": "minecraft:trim_materials" "base": "#minecraft:trimmable_armor",
}, "template": "acesbs:ashen_armor_trim_smithing_template"
"base": {
"tag": "minecraft:trimmable_armor"
},
"template": {
"item": "acesbs:ashen_armor_trim_smithing_template"
}
} }
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:ashen_steel"
"item": "acesbs:ashen_steel"
}
}, },
"pattern": [ "pattern": [
" ", " ",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:ashen_steel"
"item": "acesbs:ashen_steel"
}
}, },
"pattern": [ "pattern": [
"# #", "# #",
@@ -2,15 +2,9 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:ashen_steel",
"item": "acesbs:ashen_steel" "B": "acesbs:ashen_steel_block",
}, "I": "minecraft:stick"
"B": {
"item": "acesbs:ashen_steel_block"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
"B#B", "B#B",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:ashen_steel"
"item": "acesbs:ashen_steel"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:ashen_steel"
"item": "acesbs:ashen_steel"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:ashen_steel",
"item": "acesbs:ashen_steel" "I": "minecraft:stick"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:ashen_steel",
"item": "acesbs:ashen_steel" "I": "minecraft:stick"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
" # ", " # ",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:ashen_steel",
"item": "acesbs:ashen_steel" "I": "minecraft:stick"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
" # ", " # ",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "misc", "category": "misc",
"ingredients": [ "ingredients": [
{ "minecraft:brick",
"item": "minecraft:brick" "acesbs:stable_endtropy"
},
{
"item": "acesbs:stable_endtropy"
}
], ],
"result": { "result": {
"count": 1, "count": 1,
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "misc", "category": "misc",
"key": { "key": {
"#": { "#": "minecraft:iron_ingot",
"item": "minecraft:iron_ingot" "P": "minecraft:birch_planks"
},
"P": {
"item": "minecraft:birch_planks"
}
}, },
"pattern": [ "pattern": [
" #", " #",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "misc", "category": "misc",
"ingredients": [ "ingredients": [
{ "minecraft:paper",
"item": "minecraft:paper" "acesbs:tobacco"
},
{
"item": "acesbs:tobacco"
}
], ],
"result": { "result": {
"count": 1, "count": 1,
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "misc", "category": "misc",
"ingredients": [ "ingredients": [
{ "acesbs:cigarette",
"item": "acesbs:cigarette" "acesbs:infernal_ashes"
},
{
"item": "acesbs:infernal_ashes"
}
], ],
"result": { "result": {
"count": 1, "count": 1,
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "misc", "category": "misc",
"ingredients": [ "ingredients": [
{ "acesbs:cigarette",
"item": "acesbs:cigarette" "acesbs:combustible_lemon"
},
{
"item": "acesbs:combustible_lemon"
}
], ],
"result": { "result": {
"count": 1, "count": 1,
@@ -2,15 +2,9 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "equipment", "category": "equipment",
"ingredients": [ "ingredients": [
{ "acesbs:lemon",
"item": "acesbs:lemon" "minecraft:fire_charge",
}, "minecraft:gunpowder"
{
"item": "minecraft:fire_charge"
},
{
"item": "minecraft:gunpowder"
}
], ],
"result": { "result": {
"count": 1, "count": 1,
@@ -3,9 +3,7 @@
"category": "food", "category": "food",
"cookingtime": 600, "cookingtime": 600,
"experience": 0.35, "experience": 0.35,
"ingredient": { "ingredient": "acesbs:lemon",
"item": "acesbs:lemon"
},
"result": { "result": {
"id": "acesbs:cooked_lemon" "id": "acesbs:cooked_lemon"
} }
@@ -3,9 +3,7 @@
"category": "food", "category": "food",
"cookingtime": 200, "cookingtime": 200,
"experience": 0.35, "experience": 0.35,
"ingredient": { "ingredient": "acesbs:lemon",
"item": "acesbs:lemon"
},
"result": { "result": {
"id": "acesbs:cooked_lemon" "id": "acesbs:cooked_lemon"
} }
@@ -3,9 +3,7 @@
"category": "food", "category": "food",
"cookingtime": 100, "cookingtime": 100,
"experience": 0.35, "experience": 0.35,
"ingredient": { "ingredient": "acesbs:lemon",
"item": "acesbs:lemon"
},
"result": { "result": {
"id": "acesbs:cooked_lemon" "id": "acesbs:cooked_lemon"
} }
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "misc", "category": "misc",
"key": { "key": {
"#": { "#": "minecraft:glass",
"item": "minecraft:glass" "S": "acesbs:stable_entropy"
},
"S": {
"item": "acesbs:stable_entropy"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "misc", "category": "misc",
"key": { "key": {
"#": { "#": "acesbs:crystal_entropy"
"item": "acesbs:crystal_entropy"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,18 +2,10 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "misc", "category": "misc",
"key": { "key": {
"B": { "B": "minecraft:bucket",
"item": "minecraft:bucket" "G": "minecraft:gold_block",
}, "I": "minecraft:iron_ingot",
"G": { "S": "acesbs:stable_entropy"
"item": "minecraft:gold_block"
},
"I": {
"item": "minecraft:iron_ingot"
},
"S": {
"item": "acesbs:stable_entropy"
}
}, },
"pattern": [ "pattern": [
"ISI", "ISI",
@@ -2,15 +2,9 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "misc", "category": "misc",
"key": { "key": {
"E": { "E": "acesbs:stable_entropy",
"item": "acesbs:stable_entropy" "I": "minecraft:iron_ingot",
}, "S": "minecraft:stonecutter"
"I": {
"item": "minecraft:iron_ingot"
},
"S": {
"item": "minecraft:stonecutter"
}
}, },
"pattern": [ "pattern": [
"III", "III",
@@ -2,15 +2,9 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "misc", "category": "misc",
"key": { "key": {
"B": { "B": "minecraft:blue_ice",
"item": "minecraft:blue_ice" "I": "minecraft:iron_ingot",
}, "R": "acesbs:raw_entropy"
"I": {
"item": "minecraft:iron_ingot"
},
"R": {
"item": "acesbs:raw_entropy"
}
}, },
"pattern": [ "pattern": [
"IRI", "IRI",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "building", "category": "building",
"ingredients": [ "ingredients": [
{ "acesbs:infernal_ashes_block"
"item": "acesbs:infernal_ashes_block"
}
], ],
"result": { "result": {
"count": 9, "count": 9,
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "misc", "category": "misc",
"key": { "key": {
"#": { "#": "acesbs:infernal_ashes"
"item": "acesbs:infernal_ashes"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:ashen_steel",
"item": "acesbs:ashen_steel" "I": "minecraft:stick"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
"## ", "## ",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:ashen_steel",
"item": "acesbs:ashen_steel" "I": "minecraft:stick"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
" ##", " ##",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:ashen_steel",
"item": "acesbs:ashen_steel" "I": "minecraft:stick"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
"## ", "## ",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:ashen_steel",
"item": "acesbs:ashen_steel" "I": "minecraft:stick"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
" ##", " ##",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:prisma_steel",
"item": "acesbs:prisma_steel" "I": "minecraft:stick"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
"## ", "## ",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:prisma_steel",
"item": "acesbs:prisma_steel" "I": "minecraft:stick"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
" ##", " ##",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:prisma_steel",
"item": "acesbs:prisma_steel" "I": "minecraft:stick"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
"## ", "## ",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:prisma_steel",
"item": "acesbs:prisma_steel" "I": "minecraft:stick"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
" ##", " ##",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "redstone", "category": "redstone",
"ingredients": [ "ingredients": [
{ "acesbs:lemonwood_planks"
"item": "acesbs:lemonwood_planks"
}
], ],
"result": { "result": {
"count": 1, "count": 1,
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "redstone", "category": "redstone",
"key": { "key": {
"#": { "#": "acesbs:lemonwood_planks"
"item": "acesbs:lemonwood_planks"
}
}, },
"pattern": [ "pattern": [
"##", "##",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "misc", "category": "misc",
"key": { "key": {
"#": { "#": "minecraft:stick",
"item": "minecraft:stick" "W": "acesbs:lemonwood_planks"
},
"W": {
"item": "acesbs:lemonwood_planks"
}
}, },
"pattern": [ "pattern": [
"W#W", "W#W",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "redstone", "category": "redstone",
"key": { "key": {
"#": { "#": "minecraft:stick",
"item": "minecraft:stick" "W": "acesbs:lemonwood_planks"
},
"W": {
"item": "acesbs:lemonwood_planks"
}
}, },
"pattern": [ "pattern": [
"#W#", "#W#",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "building", "category": "building",
"ingredients": [ "ingredients": [
{ "acesbs:lemonwood_log"
"item": "acesbs:lemonwood_log"
}
], ],
"result": { "result": {
"count": 4, "count": 4,
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "building", "category": "building",
"ingredients": [ "ingredients": [
{ "acesbs:lemonwood_wood"
"item": "acesbs:lemonwood_wood"
}
], ],
"result": { "result": {
"count": 4, "count": 4,
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "building", "category": "building",
"ingredients": [ "ingredients": [
{ "acesbs:stripped_lemonwood_log"
"item": "acesbs:stripped_lemonwood_log"
}
], ],
"result": { "result": {
"count": 4, "count": 4,
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "building", "category": "building",
"ingredients": [ "ingredients": [
{ "acesbs:stripped_lemonwood_wood"
"item": "acesbs:stripped_lemonwood_wood"
}
], ],
"result": { "result": {
"count": 4, "count": 4,
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "redstone", "category": "redstone",
"key": { "key": {
"#": { "#": "acesbs:lemonwood_planks"
"item": "acesbs:lemonwood_planks"
}
}, },
"pattern": [ "pattern": [
"##" "##"
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "misc", "category": "misc",
"ingredients": [ "ingredients": [
{ "minecraft:birch_sapling",
"item": "minecraft:birch_sapling" "acesbs:lemon"
},
{
"item": "acesbs:lemon"
}
], ],
"result": { "result": {
"count": 1, "count": 1,
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "building", "category": "building",
"key": { "key": {
"#": { "#": "acesbs:lemonwood_planks"
"item": "acesbs:lemonwood_planks"
}
}, },
"pattern": [ "pattern": [
"###" "###"
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "building", "category": "building",
"key": { "key": {
"#": { "#": "acesbs:lemonwood_planks"
"item": "acesbs:lemonwood_planks"
}
}, },
"pattern": [ "pattern": [
"# ", "# ",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "redstone", "category": "redstone",
"key": { "key": {
"#": { "#": "acesbs:lemonwood_planks"
"item": "acesbs:lemonwood_planks"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "building", "category": "building",
"key": { "key": {
"#": { "#": "acesbs:lemonwood_planks"
"item": "acesbs:lemonwood_planks"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "building", "category": "building",
"key": { "key": {
"#": { "#": "acesbs:lemonwood_log"
"item": "acesbs:lemonwood_log"
}
}, },
"pattern": [ "pattern": [
"## ", "## ",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "redstone", "category": "redstone",
"ingredients": [ "ingredients": [
{ "acesbs:lizard_planks"
"item": "acesbs:lizard_planks"
}
], ],
"result": { "result": {
"count": 1, "count": 1,
@@ -2,24 +2,12 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "building", "category": "building",
"ingredients": [ "ingredients": [
{ "minecraft:birch_planks",
"item": "minecraft:birch_planks" "minecraft:birch_planks",
}, "minecraft:birch_planks",
{ "minecraft:birch_planks",
"item": "minecraft:birch_planks" "acesbs:raw_entropy",
}, "minecraft:green_dye"
{
"item": "minecraft:birch_planks"
},
{
"item": "minecraft:birch_planks"
},
{
"item": "acesbs:raw_entropy"
},
{
"item": "minecraft:green_dye"
}
], ],
"result": { "result": {
"count": 4, "count": 4,
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:stable_entropy",
"item": "acesbs:stable_entropy" "L": "acesbs:lemon"
},
"L": {
"item": "acesbs:lemon"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -1,12 +1,6 @@
{ {
"type": "minecraft:smithing_trim", "type": "minecraft:smithing_trim",
"addition": { "addition": "#minecraft:trim_materials",
"tag": "minecraft:trim_materials" "base": "#minecraft:trimmable_armor",
}, "template": "acesbs:prisma_armor_trim_smithing_template"
"base": {
"tag": "minecraft:trimmable_armor"
},
"template": {
"item": "acesbs:prisma_armor_trim_smithing_template"
}
} }
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "building", "category": "building",
"ingredients": [ "ingredients": [
{ "acesbs:prisma_steel_block"
"item": "acesbs:prisma_steel_block"
}
], ],
"result": { "result": {
"count": 9, "count": 9,
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "misc", "category": "misc",
"key": { "key": {
"#": { "#": "acesbs:prisma_steel"
"item": "acesbs:prisma_steel"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:prisma_steel"
"item": "acesbs:prisma_steel"
}
}, },
"pattern": [ "pattern": [
" ", " ",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:prisma_steel"
"item": "acesbs:prisma_steel"
}
}, },
"pattern": [ "pattern": [
"# #", "# #",
@@ -2,15 +2,9 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:prisma_steel",
"item": "acesbs:prisma_steel" "B": "acesbs:prisma_steel_block",
}, "I": "minecraft:stick"
"B": {
"item": "acesbs:prisma_steel_block"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
"B#B", "B#B",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:prisma_steel"
"item": "acesbs:prisma_steel"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:prisma_steel"
"item": "acesbs:prisma_steel"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:prisma_steel",
"item": "acesbs:prisma_steel" "I": "minecraft:stick"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:prisma_steel",
"item": "acesbs:prisma_steel" "I": "minecraft:stick"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
" # ", " # ",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"#": { "#": "acesbs:prisma_steel",
"item": "acesbs:prisma_steel" "I": "minecraft:stick"
},
"I": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
" # ", " # ",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "building", "category": "building",
"ingredients": [ "ingredients": [
{ "acesbs:raw_endtropy_block"
"item": "acesbs:raw_endtropy_block"
}
], ],
"result": { "result": {
"count": 9, "count": 9,
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "misc", "category": "misc",
"key": { "key": {
"#": { "#": "acesbs:raw_endtropy"
"item": "acesbs:raw_endtropy"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "building", "category": "building",
"ingredients": [ "ingredients": [
{ "acesbs:raw_entropy_block"
"item": "acesbs:raw_entropy_block"
}
], ],
"result": { "result": {
"count": 9, "count": 9,
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "misc", "category": "misc",
"key": { "key": {
"#": { "#": "acesbs:raw_entropy"
"item": "acesbs:raw_entropy"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "building", "category": "building",
"ingredients": [ "ingredients": [
{ "acesbs:stable_endtropy_block"
"item": "acesbs:stable_endtropy_block"
}
], ],
"result": { "result": {
"count": 9, "count": 9,
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "misc", "category": "misc",
"key": { "key": {
"#": { "#": "acesbs:stable_endtropy"
"item": "acesbs:stable_endtropy"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shapeless", "type": "minecraft:crafting_shapeless",
"category": "building", "category": "building",
"ingredients": [ "ingredients": [
{ "acesbs:stable_entropy_block"
"item": "acesbs:stable_entropy_block"
}
], ],
"result": { "result": {
"count": 9, "count": 9,
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "misc", "category": "misc",
"key": { "key": {
"#": { "#": "acesbs:stable_entropy"
"item": "acesbs:stable_entropy"
}
}, },
"pattern": [ "pattern": [
"###", "###",
@@ -2,9 +2,7 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "building", "category": "building",
"key": { "key": {
"#": { "#": "acesbs:stripped_lemonwood_log"
"item": "acesbs:stripped_lemonwood_log"
}
}, },
"pattern": [ "pattern": [
"## ", "## ",
@@ -2,12 +2,8 @@
"type": "minecraft:crafting_shaped", "type": "minecraft:crafting_shaped",
"category": "equipment", "category": "equipment",
"key": { "key": {
"P": { "P": "#minecraft:planks",
"tag": "minecraft:planks" "S": "minecraft:stick"
},
"S": {
"item": "minecraft:stick"
}
}, },
"pattern": [ "pattern": [
" P", " P",
@@ -0,0 +1,5 @@
{
"values": [
"minecraft:leather"
]
}
@@ -0,0 +1,5 @@
{
"values": [
"acesbs:ashen_steel"
]
}
@@ -0,0 +1,5 @@
{
"values": [
"acesbs:infernal_ashes"
]
}
@@ -0,0 +1,5 @@
attribute components on items and armor are not being applied.
- Thot-begone
- Beserkers Pauldon
REI display does not display custom recipes.
@@ -13,25 +13,26 @@ import net.minecraft.item.Item;
import net.minecraft.item.ItemConvertible; import net.minecraft.item.ItemConvertible;
import net.minecraft.registry.Registries; import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry; import net.minecraft.registry.Registry;
import net.minecraft.registry.RegistryKey;
import net.minecraft.registry.RegistryKeys;
import net.minecraft.sound.BlockSoundGroup; import net.minecraft.sound.BlockSoundGroup;
import net.minecraft.sound.SoundEvent; import net.minecraft.sound.SoundEvent;
import net.minecraft.util.Identifier; import net.minecraft.util.Identifier;
import net.minecraft.util.math.intprovider.UniformIntProvider; import net.minecraft.util.math.intprovider.UniformIntProvider;
import java.util.function.Function;
import java.util.function.ToIntFunction; import java.util.function.ToIntFunction;
import static net.minecraft.block.Blocks.createFlowerPotBlock;
public class ModBlocks { public class ModBlocks {
public static final Block RAW_ENTROPY_BLOCK = registerBlock("raw_entropy_block", public static final Block RAW_ENTROPY_BLOCK = registerBlock("raw_entropy_block",
new RawEntropyBlock(AbstractBlock.Settings.create() properties -> new RawEntropyBlock(properties
.strength(3f) .strength(3f)
.requiresTool() .requiresTool()
.sounds(BlockSoundGroup.AMETHYST_BLOCK))); .sounds(BlockSoundGroup.AMETHYST_BLOCK)));
public static final Block STABLE_ENTROPY_BLOCK = registerBlock("stable_entropy_block", public static final Block STABLE_ENTROPY_BLOCK = registerBlock("stable_entropy_block",
new StableEntropyBlock(AbstractBlock.Settings.create() properties -> new StableEntropyBlock(properties
.strength(5f) .strength(5f)
.luminance(new ToIntFunction<BlockState>() { .luminance(new ToIntFunction<BlockState>() {
@Override @Override
@@ -43,52 +44,52 @@ public class ModBlocks {
.sounds(BlockSoundGroup.LODESTONE))); .sounds(BlockSoundGroup.LODESTONE)));
public static final Block ENTROPY_ORE = registerBlock("entropy_ore", public static final Block ENTROPY_ORE = registerBlock("entropy_ore",
new ExperienceDroppingBlock(UniformIntProvider.create(3, 7), properties -> new ExperienceDroppingBlock(UniformIntProvider.create(3, 7),
AbstractBlock.Settings.create() properties
.strength(3.0F, 3.0F) .strength(3.0F, 3.0F)
.mapColor(MapColor.STONE_GRAY) .mapColor(MapColor.STONE_GRAY)
.requiresTool() .requiresTool()
.sounds(BlockSoundGroup.STONE))); .sounds(BlockSoundGroup.STONE)));
public static final Block DEEPSLATE_ENTROPY_ORE = registerBlock("deepslate_entropy_ore", public static final Block DEEPSLATE_ENTROPY_ORE = registerBlock("deepslate_entropy_ore",
new ExperienceDroppingBlock(UniformIntProvider.create(3, 7), properties -> new ExperienceDroppingBlock(UniformIntProvider.create(3, 7),
AbstractBlock.Settings.create() properties
.mapColor(MapColor.DEEPSLATE_GRAY) .mapColor(MapColor.DEEPSLATE_GRAY)
.strength(4.5F, 3.0F) .strength(4.5F, 3.0F)
.requiresTool() .requiresTool()
.sounds(BlockSoundGroup.DEEPSLATE))); .sounds(BlockSoundGroup.DEEPSLATE)));
public static final Block ENDTROPY_ORE = registerBlock("endtropy_ore", public static final Block ENDTROPY_ORE = registerBlock("endtropy_ore",
new ExperienceDroppingBlock(UniformIntProvider.create(3, 7), properties -> new ExperienceDroppingBlock(UniformIntProvider.create(3, 7),
AbstractBlock.Settings.create() properties
.mapColor(MapColor.PALE_YELLOW) .mapColor(MapColor.PALE_YELLOW)
.requiresTool() .requiresTool()
.strength(3.0F, 9.0F))); .strength(3.0F, 9.0F)));
public static final Block RAW_ENDTROPY_BLOCK = registerBlock("raw_endtropy_block", public static final Block RAW_ENDTROPY_BLOCK = registerBlock("raw_endtropy_block",
new RawEndtropyBlock(AbstractBlock.Settings.create() properties -> new RawEndtropyBlock(properties
.strength(3f) .strength(3f)
.requiresTool() .requiresTool()
.sounds(BlockSoundGroup.AMETHYST_BLOCK))); .sounds(BlockSoundGroup.AMETHYST_BLOCK)));
public static final Block STABLE_ENDTROPY_BLOCK = registerBlock("stable_endtropy_block", public static final Block STABLE_ENDTROPY_BLOCK = registerBlock("stable_endtropy_block",
new StableEndtropyBlock(AbstractBlock.Settings.create() properties -> new StableEndtropyBlock(properties
.strength(3f) .strength(3f)
.requiresTool() .requiresTool()
.sounds(BlockSoundGroup.AMETHYST_BLOCK))); .sounds(BlockSoundGroup.AMETHYST_BLOCK)));
public static final Block INFERNAL_ASHES_ORE = registerBlock("infernal_ashes_ore", public static final Block INFERNAL_ASHES_ORE = registerBlock("infernal_ashes_ore",
new ExperienceDroppingBlock( properties -> new ExperienceDroppingBlock(
UniformIntProvider.create(0, 1), UniformIntProvider.create(0, 1),
AbstractBlock.Settings.create() properties
.mapColor(MapColor.DARK_RED) .mapColor(MapColor.DARK_RED)
.requiresTool() .requiresTool()
.strength(3.0F, 3.0F) .strength(3.0F, 3.0F)
.sounds(BlockSoundGroup.NETHER_GOLD_ORE))); .sounds(BlockSoundGroup.NETHER_GOLD_ORE)));
public static final Block ENTROPIC_STABILIZER = registerBlock("entropic_stabilizer", public static final Block ENTROPIC_STABILIZER = registerBlock("entropic_stabilizer",
new EntropicStabilizer( properties -> new EntropicStabilizer(
AbstractBlock.Settings.create() properties
.mapColor(MapColor.LIGHT_GRAY) .mapColor(MapColor.LIGHT_GRAY)
.strength(2.0F, 3.0F) .strength(2.0F, 3.0F)
.sounds(BlockSoundGroup.METAL) .sounds(BlockSoundGroup.METAL)
@@ -96,16 +97,16 @@ public class ModBlocks {
)); ));
public static final Block ENTROPIC_EVISCERATOR = registerBlock("entropic_eviscerator", public static final Block ENTROPIC_EVISCERATOR = registerBlock("entropic_eviscerator",
new EntropicEviscerator( properties -> new EntropicEviscerator(
AbstractBlock.Settings.create() properties
.mapColor(MapColor.LIGHT_GRAY) .mapColor(MapColor.LIGHT_GRAY)
.strength(2.0F, 3.0F) .strength(2.0F, 3.0F)
.sounds(BlockSoundGroup.METAL) .sounds(BlockSoundGroup.METAL)
.requiresTool() .requiresTool()
)); ));
public static final Block ENTROPIC_ENTANGLER = registerBlock("entropic_entangler", public static final Block ENTROPIC_ENTANGLER = registerBlock("entropic_entangler",
new EntropicEntangler( properties -> new EntropicEntangler(
AbstractBlock.Settings.create() properties
.mapColor(MapColor.LIGHT_GRAY) .mapColor(MapColor.LIGHT_GRAY)
.strength(2.0F, 3.0F) .strength(2.0F, 3.0F)
.sounds(BlockSoundGroup.METAL) .sounds(BlockSoundGroup.METAL)
@@ -113,8 +114,8 @@ public class ModBlocks {
)); ));
public static final Block ORDERED_CORE = registerBlock("ordered_core", public static final Block ORDERED_CORE = registerBlock("ordered_core",
new HeavyCoreBlock( properties -> new HeavyCoreBlock(
AbstractBlock.Settings.create() properties
.mapColor(MapColor.IRON_GRAY) .mapColor(MapColor.IRON_GRAY)
.instrument(NoteBlockInstrument.SNARE) .instrument(NoteBlockInstrument.SNARE)
.sounds(BlockSoundGroup.HEAVY_CORE) .sounds(BlockSoundGroup.HEAVY_CORE)
@@ -125,24 +126,24 @@ public class ModBlocks {
public static final Block LEMONWOOD_LOG = registerBlock("lemonwood_log", public static final Block LEMONWOOD_LOG = registerBlock("lemonwood_log",
new PillarBlock(AbstractBlock.Settings.copy(Blocks.BIRCH_LOG))); properties -> new PillarBlock(properties.mapColor(MapColor.PALE_YELLOW).sounds(BlockSoundGroup.WOOD)));
public static final Block LEMONWOOD_WOOD = registerBlock("lemonwood_wood", public static final Block LEMONWOOD_WOOD = registerBlock("lemonwood_wood",
new PillarBlock(AbstractBlock.Settings.copy(Blocks.BIRCH_WOOD).mapColor(MapColor.PALE_YELLOW))); properties -> new PillarBlock(properties.mapColor(MapColor.PALE_YELLOW).instrument(NoteBlockInstrument.BASS).strength(2.0F).sounds(BlockSoundGroup.WOOD).burnable()));
public static final Block STRIPPED_LEMONWOOD_LOG = registerBlock("stripped_lemonwood_log", public static final Block STRIPPED_LEMONWOOD_LOG = registerBlock("stripped_lemonwood_log",
new PillarBlock(AbstractBlock.Settings.copy(Blocks.STRIPPED_BIRCH_LOG))); properties -> new PillarBlock(properties.mapColor(MapColor.PALE_YELLOW).instrument(NoteBlockInstrument.BASS).strength(2.0F).sounds(BlockSoundGroup.WOOD).burnable()));
public static final Block STRIPPED_LEMONWOOD_WOOD = registerBlock("stripped_lemonwood_wood", public static final Block STRIPPED_LEMONWOOD_WOOD = registerBlock("stripped_lemonwood_wood",
new PillarBlock(AbstractBlock.Settings.copy(Blocks.STRIPPED_BIRCH_WOOD).mapColor(MapColor.PALE_YELLOW))); properties -> new PillarBlock(properties.mapColor(MapColor.PALE_YELLOW).instrument(NoteBlockInstrument.BASS).strength(2.0F).sounds(BlockSoundGroup.WOOD).burnable()));
public static final Block LEMONWOOD_LEAVES = registerBlock("lemonwood_leaves", public static final Block LEMONWOOD_LEAVES = registerBlock("lemonwood_leaves",
new LeavesBlock(AbstractBlock.Settings.copy(Blocks.BIRCH_LEAVES))); properties -> new LeavesBlock(properties.mapColor(MapColor.DARK_GREEN).strength(0.2F).ticksRandomly().sounds(BlockSoundGroup.GRASS).nonOpaque().allowsSpawning(Blocks::canSpawnOnLeaves).suffocates(Blocks::never).blockVision(Blocks::never).burnable().pistonBehavior(PistonBehavior.DESTROY).solidBlock(Blocks::never)));
public static final Block LEMONWOOD_SAPLING = registerBlock("lemonwood_sapling", public static final Block LEMONWOOD_SAPLING = registerBlock("lemonwood_sapling",
new SaplingBlock(ModBlockSaplingGenerator.LEMONWOOD, AbstractBlock.Settings.copy(Blocks.BIRCH_SAPLING))); properties -> new SaplingBlock(ModBlockSaplingGenerator.LEMONWOOD, properties.mapColor(MapColor.DARK_GREEN).noCollision().ticksRandomly().breakInstantly().sounds(BlockSoundGroup.GRASS).pistonBehavior(PistonBehavior.DESTROY)));
public static final Block POTTED_LEMONWOOD_SAPLING = registerBlock("potted_lemonwood_sapling", createFlowerPotBlock(LEMONWOOD_SAPLING)); public static final Block POTTED_LEMONWOOD_SAPLING = registerBlock("potted_lemonwood_sapling", properties -> new FlowerPotBlock(LEMONWOOD_SAPLING, properties.breakInstantly().nonOpaque().pistonBehavior(PistonBehavior.DESTROY)));
public static final Block LEMONWOOD_PLANKS = registerBlock("lemonwood_planks", public static final Block LEMONWOOD_PLANKS = registerBlock("lemonwood_planks",
new Block( properties -> new Block(
AbstractBlock.Settings.create() properties
.mapColor(MapColor.PALE_YELLOW) .mapColor(MapColor.PALE_YELLOW)
.instrument(NoteBlockInstrument.BASS) .instrument(NoteBlockInstrument.BASS)
.strength(2.0F, 3.0F) .strength(2.0F, 3.0F)
@@ -152,16 +153,16 @@ public class ModBlocks {
public static final Block LEMONWOOD_STAIRS = registerBlock("lemonwood_stairs", public static final Block LEMONWOOD_STAIRS = registerBlock("lemonwood_stairs",
new StairsBlock(ModBlocks.LEMONWOOD_PLANKS.getDefaultState(), properties -> new StairsBlock(ModBlocks.LEMONWOOD_PLANKS.getDefaultState(),
AbstractBlock.Settings.create() properties
.mapColor(MapColor.PALE_YELLOW) .mapColor(MapColor.PALE_YELLOW)
.strength(2.0F, 3.0F) .strength(2.0F, 3.0F)
.sounds(BlockSoundGroup.WOOD) .sounds(BlockSoundGroup.WOOD)
.burnable() .burnable()
)); ));
public static final Block LEMONWOOD_SLAB = registerBlock("lemonwood_slab", public static final Block LEMONWOOD_SLAB = registerBlock("lemonwood_slab",
new SlabBlock( properties -> new SlabBlock(
AbstractBlock.Settings.create() properties
.mapColor(MapColor.PALE_YELLOW) .mapColor(MapColor.PALE_YELLOW)
.strength(2.0F, 3.0F) .strength(2.0F, 3.0F)
.sounds(BlockSoundGroup.WOOD) .sounds(BlockSoundGroup.WOOD)
@@ -169,8 +170,8 @@ public class ModBlocks {
)); ));
public static final Block LEMONWOOD_BUTTON = registerBlock("lemonwood_button", public static final Block LEMONWOOD_BUTTON = registerBlock("lemonwood_button",
new ButtonBlock(BlockSetType.BIRCH, 10, properties -> new ButtonBlock(BlockSetType.BIRCH, 10,
AbstractBlock.Settings.create() properties
.mapColor(MapColor.PALE_YELLOW) .mapColor(MapColor.PALE_YELLOW)
.strength(2.0F, 3.0F) .strength(2.0F, 3.0F)
.sounds(BlockSoundGroup.WOOD) .sounds(BlockSoundGroup.WOOD)
@@ -178,8 +179,8 @@ public class ModBlocks {
.noCollision() .noCollision()
)); ));
public static final Block LEMONWOOD_PRESSURE_PLATE = registerBlock("lemonwood_pressure_plate", public static final Block LEMONWOOD_PRESSURE_PLATE = registerBlock("lemonwood_pressure_plate",
new PressurePlateBlock(BlockSetType.BIRCH, properties -> new PressurePlateBlock(BlockSetType.BIRCH,
AbstractBlock.Settings.create() properties
.mapColor(MapColor.PALE_YELLOW) .mapColor(MapColor.PALE_YELLOW)
.strength(2.0F, 3.0F) .strength(2.0F, 3.0F)
.sounds(BlockSoundGroup.WOOD) .sounds(BlockSoundGroup.WOOD)
@@ -187,24 +188,24 @@ public class ModBlocks {
)); ));
public static final Block LEMONWOOD_FENCE = registerBlock("lemonwood_fence", public static final Block LEMONWOOD_FENCE = registerBlock("lemonwood_fence",
new FenceBlock( properties -> new FenceBlock(
AbstractBlock.Settings.create() properties
.mapColor(MapColor.PALE_YELLOW) .mapColor(MapColor.PALE_YELLOW)
.strength(2.0F, 3.0F) .strength(2.0F, 3.0F)
.sounds(BlockSoundGroup.WOOD) .sounds(BlockSoundGroup.WOOD)
.burnable() .burnable()
)); ));
public static final Block LEMONWOOD_FENCE_GATE = registerBlock("lemonwood_fence_gate", public static final Block LEMONWOOD_FENCE_GATE = registerBlock("lemonwood_fence_gate",
new FenceGateBlock(WoodType.BIRCH, properties -> new FenceGateBlock(WoodType.BIRCH,
AbstractBlock.Settings.create() properties
.mapColor(MapColor.PALE_YELLOW) .mapColor(MapColor.PALE_YELLOW)
.strength(2.0F, 3.0F) .strength(2.0F, 3.0F)
.sounds(BlockSoundGroup.WOOD) .sounds(BlockSoundGroup.WOOD)
.burnable() .burnable()
)); ));
public static final Block LEMONWOOD_WALL = registerBlock("lemonwood_wall", public static final Block LEMONWOOD_WALL = registerBlock("lemonwood_wall",
new WallBlock( properties -> new WallBlock(
AbstractBlock.Settings.create() properties
.mapColor(MapColor.PALE_YELLOW) .mapColor(MapColor.PALE_YELLOW)
.strength(2.0F, 3.0F) .strength(2.0F, 3.0F)
.sounds(BlockSoundGroup.WOOD) .sounds(BlockSoundGroup.WOOD)
@@ -212,8 +213,8 @@ public class ModBlocks {
)); ));
public static final Block LEMONWOOD_DOOR = registerBlock("lemonwood_door", public static final Block LEMONWOOD_DOOR = registerBlock("lemonwood_door",
new DoorBlock(BlockSetType.BIRCH, properties -> new DoorBlock(BlockSetType.BIRCH,
AbstractBlock.Settings.create() properties
.mapColor(MapColor.PALE_YELLOW) .mapColor(MapColor.PALE_YELLOW)
.strength(2.0F, 3.0F) .strength(2.0F, 3.0F)
.sounds(BlockSoundGroup.WOOD) .sounds(BlockSoundGroup.WOOD)
@@ -221,8 +222,8 @@ public class ModBlocks {
.nonOpaque() .nonOpaque()
)); ));
public static final Block LEMONWOOD_TRAPDOOR = registerBlock("lemonwood_trapdoor", public static final Block LEMONWOOD_TRAPDOOR = registerBlock("lemonwood_trapdoor",
new TrapdoorBlock(BlockSetType.BIRCH, properties -> new TrapdoorBlock(BlockSetType.BIRCH,
AbstractBlock.Settings.create() properties
.mapColor(MapColor.PALE_YELLOW) .mapColor(MapColor.PALE_YELLOW)
.strength(2.0F, 3.0F) .strength(2.0F, 3.0F)
.sounds(BlockSoundGroup.WOOD) .sounds(BlockSoundGroup.WOOD)
@@ -231,8 +232,8 @@ public class ModBlocks {
)); ));
public static final Block LIZARD_PLANKS = registerBlock("lizard_planks", public static final Block LIZARD_PLANKS = registerBlock("lizard_planks",
new Block( properties -> new Block(
AbstractBlock.Settings.create() properties
.mapColor(MapColor.DARK_GREEN) .mapColor(MapColor.DARK_GREEN)
.strength(2.0F, 3.0F) .strength(2.0F, 3.0F)
.sounds(BlockSoundGroup.WOOD) .sounds(BlockSoundGroup.WOOD)
@@ -240,8 +241,8 @@ public class ModBlocks {
)); ));
public static final Block LIZARD_BUTTON = registerBlock("lizard_button", public static final Block LIZARD_BUTTON = registerBlock("lizard_button",
new ButtonBlock(BlockSetType.BIRCH, 1, properties -> new ButtonBlock(BlockSetType.BIRCH, 1,
AbstractBlock.Settings.create() properties
.mapColor(MapColor.DARK_GREEN) .mapColor(MapColor.DARK_GREEN)
.strength(2.0F, 3.0F) .strength(2.0F, 3.0F)
.sounds(BlockSoundGroup.WOOD) .sounds(BlockSoundGroup.WOOD)
@@ -261,7 +262,7 @@ public class ModBlocks {
}); });
public static final Block EVIL_BLOCK = registerBlock("evil_block", public static final Block EVIL_BLOCK = registerBlock("evil_block",
new EvilBlock(AbstractBlock.Settings.create() properties -> new EvilBlock(properties
.strength(5f) .strength(5f)
.luminance(state -> state.get(EvilBlock.CLICKED) ? 15 : 0) .luminance(state -> state.get(EvilBlock.CLICKED) ? 15 : 0)
.requiresTool() .requiresTool()
@@ -269,8 +270,8 @@ public class ModBlocks {
public static final Block PRISMA_STEEL_BLOCK = registerBlock( public static final Block PRISMA_STEEL_BLOCK = registerBlock(
"prisma_steel_block", "prisma_steel_block",
new Block( properties -> new Block(
AbstractBlock.Settings.create() properties
.mapColor(MapColor.IRON_GRAY) .mapColor(MapColor.IRON_GRAY)
.instrument(NoteBlockInstrument.IRON_XYLOPHONE) .instrument(NoteBlockInstrument.IRON_XYLOPHONE)
.requiresTool() .requiresTool()
@@ -281,8 +282,8 @@ public class ModBlocks {
public static final Block INFERNAL_ASHES_BLOCK = registerBlock( public static final Block INFERNAL_ASHES_BLOCK = registerBlock(
"infernal_ashes_block", "infernal_ashes_block",
new FallingBlock( properties -> new FallingBlock(
AbstractBlock.Settings.create() properties
.mapColor(MapColor.LIGHT_GRAY) .mapColor(MapColor.LIGHT_GRAY)
.instrument(NoteBlockInstrument.SNARE) .instrument(NoteBlockInstrument.SNARE)
.strength(0.5F) .strength(0.5F)
@@ -297,8 +298,8 @@ public class ModBlocks {
public static final Block CRYSTAL_ENTROPY = registerBlock( public static final Block CRYSTAL_ENTROPY = registerBlock(
"crystal_entropy", "crystal_entropy",
new TransparentBlock( properties -> new TransparentBlock(
AbstractBlock.Settings.create() properties
.instrument(NoteBlockInstrument.HAT) .instrument(NoteBlockInstrument.HAT)
.strength(0.3F) .strength(0.3F)
.sounds(BlockSoundGroup.GLASS) .sounds(BlockSoundGroup.GLASS)
@@ -312,8 +313,8 @@ public class ModBlocks {
public static final Block CRYSTAL_ENTROPY_PANE = registerBlock( public static final Block CRYSTAL_ENTROPY_PANE = registerBlock(
"crystal_entropy_pane", "crystal_entropy_pane",
new PaneBlock( properties -> new PaneBlock(
AbstractBlock.Settings.create() properties
.instrument(NoteBlockInstrument.HAT) .instrument(NoteBlockInstrument.HAT)
.strength(0.3F) .strength(0.3F)
.sounds(BlockSoundGroup.GLASS) .sounds(BlockSoundGroup.GLASS)
@@ -321,8 +322,8 @@ public class ModBlocks {
) )
); );
public static final Block TOBACCO_CROP = registerBlockWithoutItem("tobacco_crop", new TobaccoCrop( public static final Block TOBACCO_CROP = registerBlockWithoutItem("tobacco_crop", properties -> new TobaccoCrop(
AbstractBlock.Settings.create() properties
.mapColor(MapColor.DARK_GREEN) .mapColor(MapColor.DARK_GREEN)
.noCollision() .noCollision()
.ticksRandomly() .ticksRandomly()
@@ -332,8 +333,8 @@ public class ModBlocks {
)); ));
public static final Block ASHEN_STEEL_BLOCK = registerBlock( public static final Block ASHEN_STEEL_BLOCK = registerBlock(
"ashen_steel_block", "ashen_steel_block",
new Block( properties -> new Block(
AbstractBlock.Settings.create() properties
.mapColor(MapColor.IRON_GRAY) .mapColor(MapColor.IRON_GRAY)
.instrument(NoteBlockInstrument.IRON_XYLOPHONE) .instrument(NoteBlockInstrument.IRON_XYLOPHONE)
.requiresTool() .requiresTool()
@@ -342,18 +343,21 @@ public class ModBlocks {
) )
); );
private static Block registerBlockWithoutItem(String name, Block block){ private static Block registerBlock(String name, Function<AbstractBlock.Settings, Block> function) {
return Registry.register(Registries.BLOCK, Identifier.of(AcesBS.MOD_ID, name), block); Block toRegister = function.apply(AbstractBlock.Settings.create().registryKey(RegistryKey.of(RegistryKeys.BLOCK, Identifier.of(AcesBS.MOD_ID, name))));
registerBlockItem(name, toRegister);
return Registry.register(Registries.BLOCK, Identifier.of(AcesBS.MOD_ID, name), toRegister);
} }
private static Block registerBlock(String name, Block block){ private static Block registerBlockWithoutItem(String name, Function<AbstractBlock.Settings, Block> function) {
registerBlockItem(name, block); return Registry.register(Registries.BLOCK, Identifier.of(AcesBS.MOD_ID, name),
return Registry.register(Registries.BLOCK, Identifier.of(AcesBS.MOD_ID, name), block); function.apply(AbstractBlock.Settings.create().registryKey(RegistryKey.of(RegistryKeys.BLOCK, Identifier.of(AcesBS.MOD_ID, name)))));
} }
private static void registerBlockItem(String name, Block block) { private static void registerBlockItem(String name, Block block) {
Registry.register(Registries.ITEM, Identifier.of(AcesBS.MOD_ID, name), Registry.register(Registries.ITEM, Identifier.of(AcesBS.MOD_ID, name),
new BlockItem(block, new Item.Settings())); new BlockItem(block, new Item.Settings().useBlockPrefixedTranslationKey()
.registryKey(RegistryKey.of(RegistryKeys.ITEM, Identifier.of(AcesBS.MOD_ID, name)))));
} }
public static void registerModBlocks(){ public static void registerModBlocks(){
@@ -12,10 +12,10 @@ import net.minecraft.item.ItemPlacementContext;
import net.minecraft.item.ItemStack; import net.minecraft.item.ItemStack;
import net.minecraft.screen.NamedScreenHandlerFactory; import net.minecraft.screen.NamedScreenHandlerFactory;
import net.minecraft.state.StateManager; import net.minecraft.state.StateManager;
import net.minecraft.state.property.DirectionProperty; import net.minecraft.state.property.EnumProperty;
import net.minecraft.state.property.Properties; import net.minecraft.state.property.Properties;
import net.minecraft.util.ActionResult;
import net.minecraft.util.Hand; import net.minecraft.util.Hand;
import net.minecraft.util.ItemActionResult;
import net.minecraft.util.ItemScatterer; import net.minecraft.util.ItemScatterer;
import net.minecraft.util.hit.BlockHitResult; import net.minecraft.util.hit.BlockHitResult;
import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.BlockPos;
@@ -24,7 +24,7 @@ import net.minecraft.world.World;
import org.jetbrains.annotations.Nullable; import org.jetbrains.annotations.Nullable;
public class EntropicEntangler extends BlockWithEntity implements BlockEntityProvider { public class EntropicEntangler extends BlockWithEntity implements BlockEntityProvider {
public static final DirectionProperty FACING = Properties.HORIZONTAL_FACING; public static final EnumProperty<Direction> FACING = Properties.HORIZONTAL_FACING;
public static final MapCodec<EntropicEntangler> CODEC = EntropicEntangler.createCodec(EntropicEntangler::new); public static final MapCodec<EntropicEntangler> CODEC = EntropicEntangler.createCodec(EntropicEntangler::new);
public EntropicEntangler(Settings settings) { public EntropicEntangler(Settings settings) {
@@ -60,7 +60,7 @@ public class EntropicEntangler extends BlockWithEntity implements BlockEntityPro
} }
@Override @Override
protected ItemActionResult onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) { protected ActionResult onUseWithItem(ItemStack stack, BlockState state, World world, BlockPos pos, PlayerEntity player, Hand hand, BlockHitResult hit) {
if (!world.isClient) { if (!world.isClient) {
NamedScreenHandlerFactory screenHandlerFactory = ((EntropicEntanglerEntity) world.getBlockEntity(pos)); NamedScreenHandlerFactory screenHandlerFactory = ((EntropicEntanglerEntity) world.getBlockEntity(pos));
@@ -68,7 +68,7 @@ public class EntropicEntangler extends BlockWithEntity implements BlockEntityPro
player.openHandledScreen(screenHandlerFactory); player.openHandledScreen(screenHandlerFactory);
} }
} }
return ItemActionResult.SUCCESS; return ActionResult.SUCCESS;
} }

Some files were not shown because too many files have changed in this diff Show More