Added More Items and More Blocks and Shortened Mod Name

This commit is contained in:
Vos
2025-05-25 17:44:41 -05:00
parent 7e4e1a41d3
commit 0fa4e6e4e5
23 changed files with 345 additions and 24 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 637 KiB

File diff suppressed because one or more lines are too long
+57
View File
@@ -0,0 +1,57 @@
{
"credit": "Made with Blockbench",
"texture_size": [64, 64],
"textures": {
"1": "texture_baked_mc"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 16, 16],
"rotation": {"angle": 0, "axis": "y", "origin": [7, 0, 8]},
"faces": {
"north": {"uv": [0, 0, 4, 4], "texture": "#1"},
"east": {"uv": [0, 4, 4, 8], "texture": "#1"},
"south": {"uv": [4, 0, 8, 4], "texture": "#1"},
"west": {"uv": [4, 4, 8, 8], "texture": "#1"},
"up": {"uv": [4, 12, 0, 8], "texture": "#1"},
"down": {"uv": [12, 0, 8, 4], "texture": "#1"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 225, 0],
"scale": [0.625, 0.625, 0.625]
},
"head": {
"translation": [0, 3.25, -5.5],
"scale": [0.25, 0.25, 0.25]
},
"fixed": {
"scale": [0.5, 0.5, 0.5]
}
}
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

+1
View File
@@ -0,0 +1 @@
{"meta":{"format_version":"4.10","model_format":"java_block","box_uv":false},"name":"entropy_ore","parent":"","ambientocclusion":true,"front_gui_light":false,"visible_box":[1,1,0],"variable_placeholders":"","variable_placeholder_buttons":[],"unhandled_root_fields":{},"resolution":{"width":16,"height":16},"elements":[{"name":"cube","box_uv":false,"rescale":false,"locked":false,"light_emission":0,"render_order":"default","allow_mirror_modeling":true,"from":[0,0,0],"to":[16,16,16],"autouv":1,"color":9,"origin":[0,0,0],"faces":{"north":{"uv":[0,0,16,16],"texture":0},"east":{"uv":[0,0,16,16],"texture":0},"south":{"uv":[0,0,16,16],"texture":0},"west":{"uv":[0,0,16,16],"texture":0},"up":{"uv":[0,0,16,16],"texture":0},"down":{"uv":[0,0,16,16],"texture":0}},"type":"cube","uuid":"e5d52aec-65e8-0c4d-71c3-450c56fb0ad7"}],"outliner":["e5d52aec-65e8-0c4d-71c3-450c56fb0ad7"],"textures":[{"path":"C:\\Users\\gamer\\Downloads\\entropy_ore.png","name":"entropy_ore.png","folder":"","namespace":"","id":"0","group":"","width":16,"height":16,"uv_width":16,"uv_height":16,"particle":true,"use_as_default":false,"layers_enabled":false,"sync_to_project":"","render_mode":"default","render_sides":"auto","pbr_channel":"color","frame_time":1,"frame_order_type":"loop","frame_order":"","frame_interpolate":false,"visible":true,"internal":true,"saved":true,"uuid":"0f6b8c0b-f325-45ed-5bef-c83125fda26f","relative_path":"entropy_ore.png","source":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAe9JREFUOE9dUzFIW1EUPZ8OgokSCCGhWeogKRVXBdspi4WKi1sVmkDrkkHQbEJCBEtBmtBAEYuUKBQyZFEUKkhLKbg4FgsBE6dAAgYC+V8QReXc9L4+ffB5799333nnnHufUygUbmGNTqeDQCAgEa49z4PruvD7/RLz+XwyM861k81mBUADnO1EG7zVaskvwRRIAHio9HETA04/Juen5UZNVAAeWpt4h9DMOJbzWTQaDdkyDEibwWazicbXMZyd1vHi/bncFovFRA5zgsEgarXafwnpdNp4wMPfv+1h+PoYRzs38FwPE69ukNz+LQAq1ZYoDIhcrVZR2ShLEqVw5Eof0G63DV1eoNLILBqNwiEDNYSbSpNrPUxP+JEdwZ+/jiMSifSqQAAt08MbFPjzyieMXq7gx96kmKhmh8NhONoHlFAtPsOfvgxezk6JeUzQnlhdzMF/ksBgeA7d0DS6txdILL3tVYE3ELVe+Ymhp+twR0pIZRbksDYT9e6mHiFZ7jUZ5XFPJHCzuLQmqPmtotlkuZSJ7Q/jWpF7faA11o5jVWw5CqKsTCNp+zJAQw++7CJy9cv0wpM3cdGrZmun3jORJj0+P0R6/69I4L8OWxbZqdnGxIe1t9vWNkwlcNYc44Gawtrry9QqGCr/FvZzvwMDHjebM4gE1gAAAABJRU5ErkJggg=="}],"display":{"thirdperson_righthand":{"rotation":[75,45,0],"translation":[0,2.5,0],"scale":[0.375,0.375,0.375]},"thirdperson_lefthand":{"rotation":[75,45,0],"translation":[0,2.5,0],"scale":[0.375,0.375,0.375]},"firstperson_righthand":{"rotation":[0,45,0],"scale":[0.4,0.4,0.4]},"firstperson_lefthand":{"rotation":[0,225,0],"scale":[0.4,0.4,0.4]},"ground":{"translation":[0,3,0],"scale":[0.25,0.25,0.25]},"gui":{"rotation":[30,225,0],"scale":[0.625,0.625,0.625]},"fixed":{"scale":[0.5,0.5,0.5]}}}
Binary file not shown.

After

Width:  |  Height:  |  Size: 599 B

File diff suppressed because one or more lines are too long
Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

@@ -8,7 +8,7 @@ import net.fabricmc.api.ModInitializer;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
public class AcesBravoSierra implements ModInitializer {
public class AcesBS implements ModInitializer {
public static final String MOD_ID = "acesbs";
// This logger is used to write text to the console and the log file.
@@ -2,7 +2,7 @@ package com.acethewildfire.acesbs;
import net.fabricmc.api.ClientModInitializer;
public class AcesBravoSierraClient implements ClientModInitializer {
public class AcesBSClient implements ClientModInitializer {
@Override
public void onInitializeClient() {
@@ -3,7 +3,7 @@ package com.acethewildfire.acesbs;
import net.fabricmc.fabric.api.datagen.v1.DataGeneratorEntrypoint;
import net.fabricmc.fabric.api.datagen.v1.FabricDataGenerator;
public class AcesBravoSierraDataGenerator implements DataGeneratorEntrypoint {
public class AcesBSDataGenerator implements DataGeneratorEntrypoint {
@Override
public void onInitializeDataGenerator(FabricDataGenerator fabricDataGenerator) {
@@ -1,13 +1,10 @@
package com.acethewildfire.acesbs.block;
import com.acethewildfire.acesbs.AcesBravoSierra;
import net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents;
import com.acethewildfire.acesbs.AcesBS;
import net.minecraft.block.AbstractBlock;
import net.minecraft.block.Block;
import net.minecraft.item.BlockItem;
import net.minecraft.item.Item;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemGroups;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.sound.BlockSoundGroup;
@@ -19,20 +16,25 @@ public class ModBlocks {
new Block(AbstractBlock.Settings.create()
.strength(4f)
.requiresTool()
.sounds(BlockSoundGroup.ANCIENT_DEBRIS)));
.sounds(BlockSoundGroup.AMETHYST_BLOCK)));
public static final Block ENTROPY_ORE = registerBlock("entropy_ore",
new Block(AbstractBlock.Settings.create()
.strength(4f)
.requiresTool()
.sounds(BlockSoundGroup.COPPER)));
private static Block registerBlock(String name, Block block){
registerBlockItem(name, block);
return Registry.register(Registries.BLOCK, Identifier.of(AcesBravoSierra.MOD_ID, name), block);
return Registry.register(Registries.BLOCK, Identifier.of(AcesBS.MOD_ID, name), block);
}
private static void registerBlockItem(String name, Block block){
Registry.register(Registries.ITEM, Identifier.of(AcesBravoSierra.MOD_ID, name),
Registry.register(Registries.ITEM, Identifier.of(AcesBS.MOD_ID, name),
new BlockItem(block, new Item.Settings()));
}
public static void registerModBlocks(){
AcesBravoSierra.LOGGER.info("Registering Mod Blocks for " + AcesBravoSierra.MOD_ID);
AcesBS.LOGGER.info("Registering Mod Blocks for " + AcesBS.MOD_ID);
// ItemGroupEvents.modifyEntriesEvent(ItemGroups.BUILDING_BLOCKS).register(fabricItemGroupEntries -> {
// fabricItemGroupEntries.add(ENTROPY_BLOCK);
@@ -1,6 +1,6 @@
package com.acethewildfire.acesbs.item;
import com.acethewildfire.acesbs.AcesBravoSierra;
import com.acethewildfire.acesbs.AcesBS;
import com.acethewildfire.acesbs.block.ModBlocks;
import net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroup;
import net.minecraft.item.ItemGroup;
@@ -12,18 +12,20 @@ import net.minecraft.util.Identifier;
public class ModItemGroups {
public static final ItemGroup ACES_BS = Registry.register(Registries.ITEM_GROUP,
Identifier.of(AcesBravoSierra.MOD_ID, "main"),
Identifier.of(AcesBS.MOD_ID, "main"),
FabricItemGroup.builder()
.icon(() -> new ItemStack(ModItems.ORACLE_LEMON))
.displayName(Text.translatable("itemgroup.acesbs.main"))
.entries((displayContext, entries) -> {
entries.add(ModItems.ORACLE_LEMON);
entries.add(ModBlocks.ENTROPY_ORE);
entries.add(ModItems.RAW_ENTROPY);
entries.add(ModBlocks.ENTROPY_BLOCK);
})
.build());
public static void registerItemGroups() {
AcesBravoSierra.LOGGER.info("Registering Item Groups for " + AcesBravoSierra.MOD_ID);
AcesBS.LOGGER.info("Registering Item Groups for " + AcesBS.MOD_ID);
}
}
@@ -1,9 +1,7 @@
package com.acethewildfire.acesbs.item;
import com.acethewildfire.acesbs.AcesBravoSierra;
import net.fabricmc.fabric.api.itemgroup.v1.ItemGroupEvents;
import com.acethewildfire.acesbs.AcesBS;
import net.minecraft.item.Item;
import net.minecraft.item.ItemGroups;
import net.minecraft.registry.Registries;
import net.minecraft.registry.Registry;
import net.minecraft.util.Identifier;
@@ -11,13 +9,14 @@ import net.minecraft.util.Identifier;
public class ModItems {
public static final Item ORACLE_LEMON = registerItem("oracle_lemon", new Item(new Item.Settings()));
public static final Item RAW_ENTROPY = registerItem("raw_entropy", new Item(new Item.Settings()));
private static Item registerItem(String name, Item item){
return Registry.register(Registries.ITEM, Identifier.of(AcesBravoSierra.MOD_ID, name), item);
return Registry.register(Registries.ITEM, Identifier.of(AcesBS.MOD_ID, name), item);
}
public static void registerModItems() {
AcesBravoSierra.LOGGER.info("Registering Mod Items for " + AcesBravoSierra.MOD_ID);
AcesBS.LOGGER.info("Registering Mod Items for " + AcesBS.MOD_ID);
// ItemGroupEvents.modifyEntriesEvent(ItemGroups.INGREDIENTS).register(fabricItemGroupEntries -> {
// fabricItemGroupEntries.add(ORACLE_LEMON);
@@ -0,0 +1,7 @@
{
"variants": {
"": {
"model": "acesbs:block/entropy_ore"
}
}
}
@@ -1,5 +1,7 @@
{
"item.acesbs.oracle_lemon": "Oracle Lemon",
"item.acesbs.raw_entropy": "Raw Entropy",
"block.acesbs.entropy_block": "Block of Entropy",
"block.acesbs.entropy_ore": "Entropic Ore",
"itemgroup.acesbs.main": "Ace's BS"
}
@@ -2,7 +2,8 @@
"credit": "Made by AceTheWildfire with Blockbench",
"texture_size": [64, 64],
"textures": {
"1": "acesbs:block/entropy_block"
"1": "acesbs:block/entropy_block",
"particle": "acesbs:block/entropy_block"
},
"elements": [
{
@@ -0,0 +1,52 @@
{
"credit": "Made with Blockbench",
"textures": {
"0": "acesbs:block/entropy_ore",
"particle": "acesbs:block/entropy_ore"
},
"elements": [
{
"from": [0, 0, 0],
"to": [16, 16, 16],
"faces": {
"north": {"uv": [0, 0, 16, 16], "texture": "#0"},
"east": {"uv": [0, 0, 16, 16], "texture": "#0"},
"south": {"uv": [0, 0, 16, 16], "texture": "#0"},
"west": {"uv": [0, 0, 16, 16], "texture": "#0"},
"up": {"uv": [0, 0, 16, 16], "texture": "#0"},
"down": {"uv": [0, 0, 16, 16], "texture": "#0"}
}
}
],
"display": {
"thirdperson_righthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"thirdperson_lefthand": {
"rotation": [75, 45, 0],
"translation": [0, 2.5, 0],
"scale": [0.375, 0.375, 0.375]
},
"firstperson_righthand": {
"rotation": [0, 45, 0],
"scale": [0.4, 0.4, 0.4]
},
"firstperson_lefthand": {
"rotation": [0, 225, 0],
"scale": [0.4, 0.4, 0.4]
},
"ground": {
"translation": [0, 3, 0],
"scale": [0.25, 0.25, 0.25]
},
"gui": {
"rotation": [30, 225, 0],
"scale": [0.625, 0.625, 0.625]
},
"fixed": {
"scale": [0.5, 0.5, 0.5]
}
}
}
@@ -0,0 +1,3 @@
{
"parent": "acesbs:block/entropy_ore"
}
@@ -0,0 +1,193 @@
{
"credit": "Made with Blockbench",
"ambientocclusion": false,
"texture_size": [32, 32],
"textures": {
"0": "acesbs:item/raw_entropy",
"particle": "acesbs:item/raw_entropy"
},
"elements": [
{
"name": "raw_entropy_0",
"from": [3, 2, 8],
"to": [6, 14, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 8]},
"faces": {
"north": {"uv": [6, 2, 3, 14], "texture": "#0"},
"east": {"uv": [5, 2, 6, 14], "texture": "#0"},
"south": {"uv": [3, 2, 6, 14], "texture": "#0"},
"west": {"uv": [3, 2, 4, 14], "texture": "#0"},
"up": {"uv": [3, 2, 6, 3], "texture": "#0"},
"down": {"uv": [3, 13, 6, 14], "texture": "#0"}
}
},
{
"name": "raw_entropy_1",
"from": [9, 2, 8],
"to": [14, 14, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 8]},
"faces": {
"north": {"uv": [14, 2, 9, 14], "texture": "#0"},
"east": {"uv": [13, 2, 14, 14], "texture": "#0"},
"south": {"uv": [9, 2, 14, 14], "texture": "#0"},
"west": {"uv": [9, 2, 10, 14], "texture": "#0"},
"up": {"uv": [9, 2, 14, 3], "texture": "#0"},
"down": {"uv": [9, 13, 14, 14], "texture": "#0"}
}
},
{
"name": "raw_entropy_2",
"from": [2, 2, 8],
"to": [3, 13, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 8]},
"faces": {
"north": {"uv": [3, 3, 2, 14], "texture": "#0"},
"east": {"uv": [2, 3, 3, 14], "texture": "#0"},
"south": {"uv": [2, 3, 3, 14], "texture": "#0"},
"west": {"uv": [2, 3, 3, 14], "texture": "#0"},
"up": {"uv": [2, 3, 3, 4], "texture": "#0"},
"down": {"uv": [2, 13, 3, 14], "texture": "#0"}
}
},
{
"name": "raw_entropy_3",
"from": [6, 3, 8],
"to": [9, 13, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 8]},
"faces": {
"north": {"uv": [9, 3, 6, 13], "texture": "#0"},
"east": {"uv": [8, 3, 9, 13], "texture": "#0"},
"south": {"uv": [6, 3, 9, 13], "texture": "#0"},
"west": {"uv": [6, 3, 7, 13], "texture": "#0"},
"up": {"uv": [6, 3, 9, 4], "texture": "#0"},
"down": {"uv": [6, 12, 9, 13], "texture": "#0"}
}
},
{
"name": "raw_entropy_4",
"from": [14, 10, 8],
"to": [15, 13, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 8]},
"faces": {
"north": {"uv": [15, 3, 14, 6], "texture": "#0"},
"east": {"uv": [14, 3, 15, 6], "texture": "#0"},
"south": {"uv": [14, 3, 15, 6], "texture": "#0"},
"west": {"uv": [14, 3, 15, 6], "texture": "#0"},
"up": {"uv": [14, 3, 15, 4], "texture": "#0"},
"down": {"uv": [14, 5, 15, 6], "texture": "#0"}
}
},
{
"name": "raw_entropy_5",
"from": [1, 3, 8],
"to": [2, 12, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 8]},
"faces": {
"north": {"uv": [2, 4, 1, 13], "texture": "#0"},
"east": {"uv": [1, 4, 2, 13], "texture": "#0"},
"south": {"uv": [1, 4, 2, 13], "texture": "#0"},
"west": {"uv": [1, 4, 2, 13], "texture": "#0"},
"up": {"uv": [1, 4, 2, 5], "texture": "#0"},
"down": {"uv": [1, 12, 2, 13], "texture": "#0"}
}
},
{
"name": "raw_entropy_6",
"from": [0, 6, 8],
"to": [1, 10, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 8]},
"faces": {
"north": {"uv": [1, 6, 0, 10], "texture": "#0"},
"east": {"uv": [0, 6, 1, 10], "texture": "#0"},
"south": {"uv": [0, 6, 1, 10], "texture": "#0"},
"west": {"uv": [0, 6, 1, 10], "texture": "#0"},
"up": {"uv": [0, 6, 1, 7], "texture": "#0"},
"down": {"uv": [0, 9, 1, 10], "texture": "#0"}
}
},
{
"name": "raw_entropy_7",
"from": [14, 2, 8],
"to": [15, 8, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 8]},
"faces": {
"north": {"uv": [15, 8, 14, 14], "texture": "#0"},
"east": {"uv": [14, 8, 15, 14], "texture": "#0"},
"south": {"uv": [14, 8, 15, 14], "texture": "#0"},
"west": {"uv": [14, 8, 15, 14], "texture": "#0"},
"up": {"uv": [14, 8, 15, 9], "texture": "#0"},
"down": {"uv": [14, 13, 15, 14], "texture": "#0"}
}
},
{
"name": "raw_entropy_8",
"from": [15, 3, 8],
"to": [16, 7, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 8]},
"faces": {
"north": {"uv": [16, 9, 15, 13], "texture": "#0"},
"east": {"uv": [15, 9, 16, 13], "texture": "#0"},
"south": {"uv": [15, 9, 16, 13], "texture": "#0"},
"west": {"uv": [15, 9, 16, 13], "texture": "#0"},
"up": {"uv": [15, 9, 16, 10], "texture": "#0"},
"down": {"uv": [15, 12, 16, 13], "texture": "#0"}
}
},
{
"name": "raw_entropy_9",
"from": [10, 1, 8],
"to": [14, 2, 9],
"rotation": {"angle": 0, "axis": "y", "origin": [0, 0, 8]},
"faces": {
"north": {"uv": [14, 14, 10, 15], "texture": "#0"},
"east": {"uv": [13, 14, 14, 15], "texture": "#0"},
"south": {"uv": [10, 14, 14, 15], "texture": "#0"},
"west": {"uv": [10, 14, 11, 15], "texture": "#0"},
"up": {"uv": [10, 14, 14, 15], "texture": "#0"},
"down": {"uv": [10, 14, 14, 15], "texture": "#0"}
}
}
],
"display": {
"thirdperson_righthand": {
"translation": [0, 1.75, 1],
"scale": [0.35, 0.35, 0.35]
},
"thirdperson_lefthand": {
"translation": [0, 1.75, 1],
"scale": [0.35, 0.35, 0.35]
},
"firstperson_righthand": {
"rotation": [0, -90, 25],
"translation": [1.13, 3.2, 1.13],
"scale": [0.58, 0.58, 0.58]
},
"firstperson_lefthand": {
"rotation": [0, -90, 25],
"translation": [1.13, 3.2, 1.13],
"scale": [0.58, 0.58, 0.58]
},
"ground": {
"translation": [0, 2, 0],
"scale": [0.5, 0.5, 0.5]
},
"gui": {
"scale": [0.75, 0.75, 0.75]
},
"head": {
"rotation": [0, 180, 0],
"translation": [0, 13, 7]
},
"fixed": {
"rotation": [0, 180, 0]
}
},
"groups": [
{
"name": "raw_entropy",
"origin": [8, 8, 8],
"color": 0,
"children": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
}
]
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 814 B

+4 -4
View File
@@ -2,7 +2,7 @@
"schemaVersion": 1,
"id": "acesbs",
"version": "${version}",
"name": "Ace's Bravo Sierra",
"name": "Ace's BS",
"description": "Ace's First Mod!",
"authors": [
"Ace The Wildfire"
@@ -16,13 +16,13 @@
"environment": "*",
"entrypoints": {
"main": [
"com.acethewildfire.acesbs.AcesBravoSierra"
"com.acethewildfire.acesbs.AcesBS"
],
"fabric-datagen": [
"com.acethewildfire.acesbs.AcesBravoSierraDataGenerator"
"com.acethewildfire.acesbs.AcesBSDataGenerator"
],
"client": [
"com.acethewildfire.acesbs.AcesBravoSierraClient"
"com.acethewildfire.acesbs.AcesBSClient"
]
},
"mixins": [