Skip to content

Commit

Permalink
1.20.1
Browse files Browse the repository at this point in the history
3.3.6
Fix potential Turkish OS Language issue
Fix some compat recipes
  • Loading branch information
xanthian committed Nov 23, 2023
1 parent e3f7532 commit 5ee5078
Show file tree
Hide file tree
Showing 27 changed files with 97 additions and 17 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ loader_version=0.14.24
#Fabric api
fabric_version=0.90.7+1.20.1
# Mod Properties
mod_version=3.3.5
mod_version=3.3.6
maven_group=xanthian
archives_base_name=variantbarrels
4 changes: 2 additions & 2 deletions src/main/java/net/xanthian/variantbarrels/block/Vanilla.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ public static void registerBarrels() {
registerBarrelBlock("warped_barrel", WARPED_BARREL);
}

private static void registerBarrelBlock(String Id, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, Id.toLowerCase());
private static void registerBarrelBlock(String name, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, name);
Registry.register(Registries.BLOCK, identifier, block);
VANILLA_BARRELS.put(identifier, block);
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static void registerBarrels() {
}

public static Block register(String name, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, name.toLowerCase());
Identifier identifier = new Identifier(Initialise.MOD_ID, name);
Registry.register(Registries.BLOCK, identifier, block);
AA_BARRELS.put(identifier, block);
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static void registerBarrels() {
}

public static Block register(String name, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, name.toLowerCase());
Identifier identifier = new Identifier(Initialise.MOD_ID, name);
Registry.register(Registries.BLOCK, identifier, block);
LDBP_BARRELS.put(identifier, block);
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static void registerBarrels() {
}

public static Block register(String name, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, name.toLowerCase());
Identifier identifier = new Identifier(Initialise.MOD_ID, name);
Registry.register(Registries.BLOCK, identifier, block);
BA_BARRELS.put(identifier, block);
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static void registerBarrels() {
}

public static Block register(String name, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, name.toLowerCase());
Identifier identifier = new Identifier(Initialise.MOD_ID, name);
Registry.register(Registries.BLOCK, identifier, block);
BW_BARRELS.put(identifier, block);
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static void registerBarrels() {
}

public static Block register(String name, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, name.toLowerCase());
Identifier identifier = new Identifier(Initialise.MOD_ID, name);
Registry.register(Registries.BLOCK, identifier, block);
BM_BARRELS.put(identifier, block);
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static void registerBarrels() {
}

public static Block register(String name, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, name.toLowerCase());
Identifier identifier = new Identifier(Initialise.MOD_ID, name);
Registry.register(Registries.BLOCK, identifier, block);
DAD_BARRELS.put(identifier, block);
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static void registerBarrels() {
}

public static Block register(String name, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, name.toLowerCase());
Identifier identifier = new Identifier(Initialise.MOD_ID, name);
Registry.register(Registries.BLOCK, identifier, block);
EE_BARRELS.put(identifier, block);
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static void registerBarrels() {
}

private static Block register(String name, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, name.toLowerCase());
Identifier identifier = new Identifier(Initialise.MOD_ID, name);
Registry.register(Registries.BLOCK, identifier, block);
MC_BARRELS.put(identifier, block);
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public static void registerBarrels() {
}

private static Block register(String name, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, name.toLowerCase());
Identifier identifier = new Identifier(Initialise.MOD_ID, name);
Registry.register(Registries.BLOCK, identifier, block);
NS_BARRELS.put(identifier, block);
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public static void registerBarrels() {
}

public static Block register(String name, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, name.toLowerCase());
Identifier identifier = new Identifier(Initialise.MOD_ID, name);
Registry.register(Registries.BLOCK, identifier, block);
PROM_BARRELS.put(identifier, block);
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ public static void register05Barrels() {
}

public static Block register(String name, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, name.toLowerCase());
Identifier identifier = new Identifier(Initialise.MOD_ID, name);
Registry.register(Registries.BLOCK, identifier, block);
RU_BARRELS.put(identifier, block);
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static void registerBarrels() {
}

public static Block register(String name, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, name.toLowerCase());
Identifier identifier = new Identifier(Initialise.MOD_ID, name);
Registry.register(Registries.BLOCK, identifier, block);
SP_BARRELS.put(identifier, block);
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static void registerBarrels() {
}

public static Block register(String name, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, name.toLowerCase());
Identifier identifier = new Identifier(Initialise.MOD_ID, name);
Registry.register(Registries.BLOCK, identifier, block);
TR_BARRELS.put(identifier, block);
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings()));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static void registerBarrels() {
}

public static Block register(String name, Block block) {
Identifier identifier = new Identifier(Initialise.MOD_ID, name.toLowerCase());
Identifier identifier = new Identifier(Initialise.MOD_ID, name);
Registry.register(Registries.BLOCK, identifier, block);
LDV_BARRELS.put(identifier, block);
Registry.register(Registries.ITEM, identifier, new BlockItem(block, new FabricItemSettings()));
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"fabric:load_conditions": [
{
"condition": "fabric:all_mods_loaded",
"values": [
"mcwtrpdoors"
]
}
],
"type": "minecraft:crafting_shaped",
"group": "barrel_trapdoors",

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"fabric:load_conditions": [
{
"condition": "fabric:all_mods_loaded",
"values": [
"mcwtrpdoors"
]
}
],
"type": "minecraft:crafting_shaped",
"group": "barrel_trapdoors",

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"fabric:load_conditions": [
{
"condition": "fabric:all_mods_loaded",
"values": [
"mcwtrpdoors"
]
}
],
"type": "minecraft:crafting_shaped",
"group": "barrel_trapdoors",

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"fabric:load_conditions": [
{
"condition": "fabric:all_mods_loaded",
"values": [
"mcwtrpdoors"
]
}
],
"type": "minecraft:crafting_shaped",
"group": "barrel_trapdoors",

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"fabric:load_conditions": [
{
"condition": "fabric:all_mods_loaded",
"values": [
"mcwtrpdoors"
]
}
],
"type": "minecraft:crafting_shaped",
"group": "barrel_trapdoors",

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"fabric:load_conditions": [
{
"condition": "fabric:all_mods_loaded",
"values": [
"mcwtrpdoors"
]
}
],
"type": "minecraft:crafting_shaped",
"group": "barrel_trapdoors",

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"fabric:load_conditions": [
{
"condition": "fabric:all_mods_loaded",
"values": [
"mcwtrpdoors"
]
}
],
"type": "minecraft:crafting_shaped",
"group": "barrel_trapdoors",

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"fabric:load_conditions": [
{
"condition": "fabric:all_mods_loaded",
"values": [
"mcwtrpdoors"
]
}
],
"type": "minecraft:crafting_shaped",
"group": "barrel_trapdoors",

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"fabric:load_conditions": [
{
"condition": "fabric:all_mods_loaded",
"values": [
"mcwtrpdoors"
]
}
],
"type": "minecraft:crafting_shaped",
"group": "barrel_trapdoors",

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"fabric:load_conditions": [
{
"condition": "fabric:all_mods_loaded",
"values": [
"mcwtrpdoors"
]
}
],
"type": "minecraft:crafting_shaped",
"group": "barrel_trapdoors",

Expand Down

0 comments on commit 5ee5078

Please sign in to comment.