Skip to content

Commit

Permalink
clean up some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
woodiertexas committed Aug 31, 2023
1 parent 3b84473 commit a53125c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,14 @@
import org.quiltmc.qsl.resource.loader.api.ResourceLoader;

public class ChocolateBar implements ModInitializer {
//Making a logger
public static final Logger LOGGER = LogManager.getLogger("ExampleMod");
public static final Logger LOGGER = LogManager.getLogger("Chocolate Bar");

/*
Creating items/blocks/etc and defining their properties
*/
public static final Item QUILTY_WRAPPING_PAPER = new Item(new QuiltItemSettings().group(ItemGroup.MISC).rarity(Rarity.UNCOMMON));
public static final Item TOOLCHAIN_WRAPPING_PAPER = new Item(new QuiltItemSettings().group(ItemGroup.MISC).rarity(Rarity.UNCOMMON));

//This code for a food item is so big it had to be put on multiple lines.
public static final ChocolateBarItem CHOCOLATE_BAR = new ChocolateBarItem(
new QuiltItemSettings()
.group(ItemGroup.FOOD).food(
Expand Down Expand Up @@ -68,4 +66,4 @@ public void onInitialize(ModContainer mod) {
);
}
}
}
}
2 changes: 1 addition & 1 deletion src/main/resources/quilt.mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"name": "Chocolate Bar",
"description": "A little mod that adds a chocolate bar to Minecraft.",
"contributors": {
"woodiertexas": "Owner",
"woodiertexas": "Author",
"Crackers0106": "Mod Icon",
"Tubbo": "Chocolate Bar Texture"
},
Expand Down

0 comments on commit a53125c

Please sign in to comment.