Skip to content

Commit

Permalink
Added texture for Tuff bricks and improved texture for Tuff bricks. A…
Browse files Browse the repository at this point in the history
…lso renamed Mudstone Bricks into Tuff Bricks
  • Loading branch information
Onako2 authored and Onako2 committed Oct 16, 2023
1 parent 48b76b8 commit b459ee4
Show file tree
Hide file tree
Showing 23 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ yarn_mappings=1.20.2+build.1
loader_version=0.14.22

# Mod Properties
mod_version=1.0.0
mod_version=1.0.1
maven_group=rs.onako2
archives_base_name=i-want-it-earlier

Expand Down
32 changes: 16 additions & 16 deletions src/main/java/rs/onako2/Init.java
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,26 @@ public class Init implements ModInitializer {

public static final Block TEST = new Block(FabricBlockSettings.create().strength(4.0f));

public static final Block OXIDIZED_COPPER_LAMP = new Block(FabricBlockSettings.create().strength(4.0f));
public static final Block OXIDIZED_COPPER_BULB = new Block(FabricBlockSettings.create().strength(4.0f));

public static final Block CHISELED_MUDSTONE_BRICKS = new Block(FabricBlockSettings.create().strength(4.0f));
public static final Block CHISELED_TUFF_BRICKS = new Block(FabricBlockSettings.create().strength(4.0f));

public static final Block COPPER_LAMP = new Block(FabricBlockSettings.create().strength(4.0f));
public static final Block COPPER_BULB = new Block(FabricBlockSettings.create().strength(4.0f));

public static final Block COPPER_GRID = new Block(FabricBlockSettings.create().strength(4.0f));

public static final Block MUDSTONE_BRICKS = new Block(FabricBlockSettings.create().strength(4.0f));
public static final Block TUFF_BRICKS = new Block(FabricBlockSettings.create().strength(4.0f));


private static final ItemGroup IWIE = FabricItemGroup.builder()
.icon(() -> new ItemStack(TEST))
.displayName(Text.translatable("itemGroup.iwie.main"))
.entries((context, entries) -> {
entries.add(OXIDIZED_COPPER_LAMP);
entries.add(CHISELED_MUDSTONE_BRICKS);
entries.add(COPPER_LAMP);
entries.add(OXIDIZED_COPPER_BULB);
entries.add(CHISELED_TUFF_BRICKS);
entries.add(COPPER_BULB);
entries.add(COPPER_GRID);
entries.add(MUDSTONE_BRICKS);
entries.add(TUFF_BRICKS);
})
.build();

Expand All @@ -63,19 +63,19 @@ public void onInitialize() {
Registry.register(Registries.BLOCK, new Identifier("iwie", "test"), TEST);
Registry.register(Registries.ITEM, new Identifier("iwie", "test"), new BlockItem(TEST, new FabricItemSettings()));

Registry.register(Registries.BLOCK, new Identifier("iwie", "oxidized_copper_lamp"), OXIDIZED_COPPER_LAMP);
Registry.register(Registries.ITEM, new Identifier("iwie", "oxidized_copper_lamp"), new BlockItem(OXIDIZED_COPPER_LAMP, new FabricItemSettings()));
Registry.register(Registries.BLOCK, new Identifier("iwie", "oxidized_copper_bulb"), OXIDIZED_COPPER_BULB);
Registry.register(Registries.ITEM, new Identifier("iwie", "oxidized_copper_bulb"), new BlockItem(OXIDIZED_COPPER_BULB, new FabricItemSettings()));

Registry.register(Registries.BLOCK, new Identifier("iwie", "chiseled_mudstone_bricks"), CHISELED_MUDSTONE_BRICKS);
Registry.register(Registries.ITEM, new Identifier("iwie", "chiseled_mudstone_bricks"), new BlockItem(CHISELED_MUDSTONE_BRICKS, new FabricItemSettings()));
Registry.register(Registries.BLOCK, new Identifier("iwie", "chiseled_tuff_bricks"), CHISELED_TUFF_BRICKS);
Registry.register(Registries.ITEM, new Identifier("iwie", "chiseled_tuff_bricks"), new BlockItem(CHISELED_TUFF_BRICKS, new FabricItemSettings()));

Registry.register(Registries.BLOCK, new Identifier("iwie", "copper_lamp"), COPPER_LAMP);
Registry.register(Registries.ITEM, new Identifier("iwie", "copper_lamp"), new BlockItem(COPPER_LAMP, new FabricItemSettings()));
Registry.register(Registries.BLOCK, new Identifier("iwie", "copper_bulb"), COPPER_BULB);
Registry.register(Registries.ITEM, new Identifier("iwie", "copper_bulb"), new BlockItem(COPPER_BULB, new FabricItemSettings()));

Registry.register(Registries.BLOCK, new Identifier("iwie", "copper_grid"), COPPER_GRID);
Registry.register(Registries.ITEM, new Identifier("iwie", "copper_grid"), new BlockItem(COPPER_GRID, new FabricItemSettings()));

Registry.register(Registries.BLOCK, new Identifier("iwie", "mudstone_bricks"), MUDSTONE_BRICKS);
Registry.register(Registries.ITEM, new Identifier("iwie", "mudstone_bricks"), new BlockItem(MUDSTONE_BRICKS, new FabricItemSettings()));
Registry.register(Registries.BLOCK, new Identifier("iwie", "tuff_bricks"), TUFF_BRICKS);
Registry.register(Registries.ITEM, new Identifier("iwie", "tuff_bricks"), new BlockItem(TUFF_BRICKS, new FabricItemSettings()));
}
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "iwie:block/chiseled_tuff_bricks"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"variants": {
"": {
"model": "iwie:block/copper_lamp"
"model": "iwie:block/copper_bulb"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "iwie:block/oxidized_copper_bulb"
}
}
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"variants": {
"": {
"model": "iwie:block/mudstone_bricks"
"model": "iwie:block/tuff_bricks"
}
}
}
8 changes: 4 additions & 4 deletions src/main/resources/assets/iwie/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"block.iwie.test": "Test",
"block.iwie.chiseled_mudstone_bricks": "Chiseled Mud bricks",
"block.iwie.mudstone_bricks": "Mud Bricks",
"block.iwie.chiseled_tuff_bricks": "Chiseled Tuff Bricks",
"block.iwie.tuff_bricks": "Tuff Bricks",
"block.iwie.copper_grid": "Copper Grid",
"block.iwie.copper_lamp": "Copper Lamp",
"block.iwie.oxidized_copper_lamp": "Oxidized Copper Lamp",
"block.iwie.copper_bulb": "Copper Bulb",
"block.iwie.oxidized_copper_bulb": "Oxidized Copper Bulb",
"itemGroup.iwie.main": "I want it earlier!"
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "iwie:block/oxcidized_copper_lamp"
"all": "iwie:block/chiseled_tuff_bricks"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "iwie:block/copper_lamp"
"all": "iwie:block/copper_bulb"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "iwie:block/chiseled_mudstone_bricks"
"all": "iwie:block/oxidized_copper_bulb"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "iwie:block/mudstone_bricks"
"all": "iwie:block/tuff_bricks"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "iwie:block/oxcidized_copper_lamp"
"all": "iwie:block/chiseled_tuff_bricks"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "iwie:block/copper_lamp"
"all": "iwie:block/copper_bulb"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "iwie:block/chiseled_mudstone_bricks"
"all": "iwie:block/oxidized_copper_bulb"
}
}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"textures": {
"all": "iwie:block/mudstone_bricks"
"all": "iwie:block/tuff_bricks"
}
}
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b459ee4

Please sign in to comment.