Updates to textures #38

Merged
BlakeRain merged 7 commits from Jah/utamacraft:main into main 2023-12-17 10:09:46 +00:00
28 changed files with 28 additions and 30 deletions

File diff suppressed because one or more lines are too long

BIN
assets/ethereal.afdesign Normal file

Binary file not shown.

BIN
assets/tungsten.afdesign Normal file

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -4,7 +4,7 @@ import net.minecraft.core.BlockPos;
import net.minecraft.world.level.BlockGetter; import net.minecraft.world.level.BlockGetter;
import net.minecraft.world.level.block.state.BlockState; import net.minecraft.world.level.block.state.BlockState;
public class TintedEtherealGlassBlock extends EtherealGlassBlock { public class EtherealGlassTintedBlock extends EtherealGlassBlock {
@Override @Override
public int getLightBlock(BlockState state, BlockGetter world, BlockPos pos) { public int getLightBlock(BlockState state, BlockGetter world, BlockPos pos) {
return world.getMaxLightLevel(); return world.getMaxLightLevel();
@ -12,6 +12,6 @@ public class TintedEtherealGlassBlock extends EtherealGlassBlock {
@Override @Override
protected String getTooltip() { protected String getTooltip() {
return "tooltip.utamacraft.tinted_ethereal_glass"; return "tooltip.utamacraft.ethereal_glass_tinted";
} }
} }

View File

@ -3,9 +3,6 @@ package net.banutama.utamacraft.block.custom;
import java.util.function.Supplier; import java.util.function.Supplier;
import net.banutama.utamacraft.Utamacraft; import net.banutama.utamacraft.Utamacraft;
import net.banutama.utamacraft.block.custom.EtherealGlassBlock;
import net.banutama.utamacraft.block.custom.TintedEtherealGlassBlock;
import net.banutama.utamacraft.block.custom.InsolatorBlock;
import net.banutama.utamacraft.item.ModCreativeModeTab; import net.banutama.utamacraft.item.ModCreativeModeTab;
import net.banutama.utamacraft.item.ModItems; import net.banutama.utamacraft.item.ModItems;
import net.minecraft.util.valueproviders.UniformInt; import net.minecraft.util.valueproviders.UniformInt;
@ -27,8 +24,8 @@ public class ModBlocks {
public static final RegistryObject<Block> ETHEREAL_GLASS = public static final RegistryObject<Block> ETHEREAL_GLASS =
registerBlock("ethereal_glass", EtherealGlassBlock::new); registerBlock("ethereal_glass", EtherealGlassBlock::new);
public static final RegistryObject<Block> TINTED_ETHEREAL_GLASS = public static final RegistryObject<Block> ETHEREAL_GLASS_TINTED =
registerBlock("tinted_ethereal_glass", TintedEtherealGlassBlock::new); registerBlock("ethereal_glass_tinted", EtherealGlassTintedBlock::new);
public static final RegistryObject<Block> TUNGSTEN_ORE = public static final RegistryObject<Block> TUNGSTEN_ORE =
registerBlock("tungsten_ore", registerBlock("tungsten_ore",
() -> new DropExperienceBlock(BlockBehaviour.Properties.of(Material.STONE) () -> new DropExperienceBlock(BlockBehaviour.Properties.of(Material.STONE)

View File

@ -17,8 +17,8 @@ public class ModItems {
ITEMS.register("player_peripheral", PlayerPeripheralItem::new); ITEMS.register("player_peripheral", PlayerPeripheralItem::new);
public static final RegistryObject<Item> TUNGSTEN_INGOT = public static final RegistryObject<Item> TUNGSTEN_INGOT =
ITEMS.register("tungsten_ingot", ModItems::simpleItem); ITEMS.register("tungsten_ingot", ModItems::simpleItem);
public static final RegistryObject<Item> RAW_TUNGSTEN = public static final RegistryObject<Item> TUNGSTEN_RAW =
ITEMS.register("raw_tungsten", ModItems::simpleItem); ITEMS.register("tungsten_raw", ModItems::simpleItem);
public static final RegistryObject<Item> FIBER_GLASS = public static final RegistryObject<Item> FIBER_GLASS =
ITEMS.register("fiber_glass", ModItems::simpleItem); ITEMS.register("fiber_glass", ModItems::simpleItem);
public static final RegistryObject<Item> PCB = public static final RegistryObject<Item> PCB =

View File

@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "utamacraft:block/ethereal_glass_tinted"
}
}
}

View File

@ -1,7 +0,0 @@
{
"variants": {
"": {
"model": "utamacraft:block/tinted_ethereal_glass"
}
}
}

View File

@ -1,8 +1,8 @@
{ {
"block.utamacraft.deepslate_tungsten_ore": "Deepslate Tungsten Ore", "block.utamacraft.deepslate_tungsten_ore": "Deepslate Tungsten Ore",
"block.utamacraft.ethereal_glass": "Ethereal Glass", "block.utamacraft.ethereal_glass": "Ethereal Glass",
"block.utamacraft.ethereal_glass_tinted": "Tinted Ethereal Glass",
"block.utamacraft.insolator": "Insolator", "block.utamacraft.insolator": "Insolator",
"block.utamacraft.tinted_ethereal_glass": "Tinted Ethereal Glass",
"block.utamacraft.tungsten_block": "Tungsten Block", "block.utamacraft.tungsten_block": "Tungsten Block",
"block.utamacraft.tungsten_ore": "Tungsten Ore", "block.utamacraft.tungsten_ore": "Tungsten Ore",
"block_entity.utamacraft.insolator": "Insolator", "block_entity.utamacraft.insolator": "Insolator",
@ -12,7 +12,7 @@
"item.utamacraft.insolator": "Insolator", "item.utamacraft.insolator": "Insolator",
"item.utamacraft.pcb": "Printed Circuit Board", "item.utamacraft.pcb": "Printed Circuit Board",
"item.utamacraft.player_peripheral": "Player peripheral", "item.utamacraft.player_peripheral": "Player peripheral",
"item.utamacraft.raw_tungsten": "Raw Tungsten", "item.utamacraft.tungsten_raw": "Raw Tungsten",
"item.utamacraft.tungsten_block": "Tungsten Block", "item.utamacraft.tungsten_block": "Tungsten Block",
"item.utamacraft.tungsten_ingot": "Tungsten Ingot", "item.utamacraft.tungsten_ingot": "Tungsten Ingot",
"item.utamacraft.utamacraft_logo": "Utamacraft", "item.utamacraft.utamacraft_logo": "Utamacraft",
@ -21,11 +21,11 @@
"tooltip.utamacraft.energy.amount": "%s FE", "tooltip.utamacraft.energy.amount": "%s FE",
"tooltip.utamacraft.energy.amount.with_capacity": "%s / %s FE", "tooltip.utamacraft.energy.amount.with_capacity": "%s / %s FE",
"tooltip.utamacraft.ethereal_glass": "Glass that is not solid to players", "tooltip.utamacraft.ethereal_glass": "Glass that is not solid to players",
"tooltip.utamacraft.ethereal_glass_tinted": "Glass that is not solid to players and blocks light",
"tooltip.utamacraft.fire_ward": "Protects the player from fire damage", "tooltip.utamacraft.fire_ward": "Protects the player from fire damage",
"tooltip.utamacraft.fluid.empty": "Empty", "tooltip.utamacraft.fluid.empty": "Empty",
"tooltip.utamacraft.fluid.amount": "%s mB", "tooltip.utamacraft.fluid.amount": "%s mB",
"tooltip.utamacraft.fluid.amount.with_capacity": "%s / %s mB", "tooltip.utamacraft.fluid.amount.with_capacity": "%s / %s mB",
"tooltip.utamacraft.tinted_ethereal_glass": "Glass that is not solid to players and blocks light",
"turtle.utamacraft.player_turtle": "Player", "turtle.utamacraft.player_turtle": "Player",
"gui.utamacraft.insolator.dump": "Dump", "gui.utamacraft.insolator.dump": "Dump",
"gui.utamacraft.insolator.dump.tooltip": "Dump the fluid contents of the Insolator", "gui.utamacraft.insolator.dump.tooltip": "Dump the fluid contents of the Insolator",

View File

@ -2,6 +2,6 @@
"parent": "block/cube_all", "parent": "block/cube_all",
"render_type": "translucent", "render_type": "translucent",
"textures": { "textures": {
"all": "utamacraft:block/tinted_ethereal_glass" "all": "utamacraft:block/ethereal_glass_tinted"
} }
} }

View File

@ -0,0 +1,3 @@
{
"parent": "utamacraft:block/ethereal_glass_tinted"
}

View File

@ -1,3 +0,0 @@
{
"parent": "utamacraft:block/tinted_ethereal_glass"
}

View File

@ -1,6 +1,6 @@
{ {
"parent": "item/generated", "parent": "item/generated",
"textures": { "textures": {
"layer0": "utamacraft:item/raw_tungsten" "layer0": "utamacraft:item/tungsten_raw"
} }
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

After

Width:  |  Height:  |  Size: 804 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 898 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -48,7 +48,7 @@
"function": "minecraft:explosion_decay" "function": "minecraft:explosion_decay"
} }
], ],
"name": "utamacraft:raw_tungsten" "name": "utamacraft:tungsten_raw"
} }
] ]
} }

View File

@ -6,7 +6,7 @@
"entries": [ "entries": [
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "utamacraft:tinted_ethereal_glass" "name": "utamacraft:ethereal_glass_tinted"
} }
] ]
} }

View File

@ -48,7 +48,7 @@
"function": "minecraft:explosion_decay" "function": "minecraft:explosion_decay"
} }
], ],
"name": "utamacraft:raw_tungsten" "name": "utamacraft:tungsten_raw"
} }
] ]
} }

View File

@ -14,7 +14,7 @@
} }
}, },
"result": { "result": {
"item": "utamacraft:tinted_ethereal_glass", "item": "utamacraft:ethereal_glass_tinted",
"count": 8 "count": 8
} }
} }

View File

@ -4,7 +4,7 @@
"experience": 1.0, "experience": 1.0,
"group": "tungsten", "group": "tungsten",
"ingredient": { "ingredient": {
"item": "utamacraft:raw_tungsten" "item": "utamacraft:tungsten_raw"
}, },
"result": "utamacraft:tungsten_ingot" "result": "utamacraft:tungsten_ingot"
} }

View File

@ -4,7 +4,7 @@
"experience": 1.0, "experience": 1.0,
"group": "tungsten", "group": "tungsten",
"ingredient": { "ingredient": {
"item": "utamacraft:raw_tungsten" "item": "utamacraft:tungsten_raw"
}, },
"result": "utamacraft:tungsten_ingot" "result": "utamacraft:tungsten_ingot"
} }