Skip to content

Commit

Permalink
added spawn egg and lang for enderman brute
Browse files Browse the repository at this point in the history
  • Loading branch information
5U55 committed Jun 23, 2021
1 parent 320f8b2 commit bc38d0e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
5 changes: 3 additions & 2 deletions src/main/java/com/ejs/endplus/registry/ModItems.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@

import net.minecraft.item.Item;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.SpawnEggItem;
import net.minecraft.util.Identifier;
import net.minecraft.util.registry.Registry;

public class ModItems {
public static final Item TEST = new Item(new Item.Settings().group(ItemGroup.MISC));
public static final SpawnEggItem TEST = new SpawnEggItem(EndPlus.ENDERMAN_BRUTE, 27923100, 27910024, new Item.Settings().group(ItemGroup.MISC));

public static void registerItems() {
Registry.register(Registry.ITEM, new Identifier(EndPlus.MOD_ID, "test"), TEST);
Registry.register(Registry.ITEM, new Identifier(EndPlus.MOD_ID, "ender_brute_spawn_egg"), TEST);
}
}
5 changes: 3 additions & 2 deletions src/main/resources/assets/endplus/lang/en_us.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"item.tutorial.test": "Test Item",
"biome.endplus.end_decay": "End Decay"
"item.endplus.ender_brute_spawn_egg": "Enderman Brute Spawn Egg",
"biome.endplus.end_decay": "End Decay",
"entity.endplus.enderman_brute" : "Enderman Brute"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "minecraft:item/template_spawn_egg"
}
6 changes: 0 additions & 6 deletions src/main/resources/assets/endplus/models/item/test.json

This file was deleted.

0 comments on commit bc38d0e

Please sign in to comment.