Blue_Atlas
Members-
Posts
132 -
Joined
-
Last visited
Everything posted by Blue_Atlas
-
this is what i have it is in my RegistryHandler public static void initRegistries() { EntityRegistry.addSpawn('myentity here'.class, 30, 1, 10, EnumCreatureType.MONSTER, 'what do i put here?'); }
-
also i would like implementation. i cannot figure out how to do it
-
do i put in my registry handler or some other class. and if in registry handler what phase of init
-
i also need to know where to put this if possible
-
i've made an entity but i don't know how to make it spawn in the world. i would like it to spawn in all biomes.
-
If it contains the Minecraft source code and is open source then you are violating mojang's terms of use. Do not make custom clients
-
Sorry I was wrong
-
i think i need to register it somehow but i dont know how
-
here is my advancement currently: { "display": { "icon": { "item": "em:basic_sword" }, "title": "The Basics", "description": "A basic set of items for a more difficult survival is useful", "frame": "challenge" }, "rewards": { "loot": { "pools": [ { "name": "AllTheBasicItems", "rolls": 1, "entries": [ { "type": "item", "weight": 100, "name": "em:basic_sword", "functions": [ { } ] } ] } ] } }, "criteria": { "collect_item_at_least_1": { "trigger": "minecraft:inventory_changed", "conditions": { "slots": { "occupied": { "min": 1 } } } } } } it doesnt seem to work i have tried the advancement grant all command but i get everything except my custom advancement
-
Also you are using more for a bunch of different versions
-
As said above: IF YOU HAVE A PROBLEM MAKE YOUR OWN THREAD
-
So I just use a loot table for the rewards?
-
I do not know how to do advancments. I have looked at the Minecraft advancement jsons and I think I can do that except I want an item as reward. Preferably enchanted. I would like to know how to make my own advancements tab and how to put my advancements in it. So here is what I want to know: How do I create my advancements? How do I put an enchanted item as a reward? How do I set up my own advancement tab with my custom advancements? Sry about the kind of repeating i did there
-
[MainlySolved]Adding enchanted items to inventory on player spawn
Blue_Atlas replied to Blue_Atlas's topic in Modder Support
Would it be possible to make the items instead be given to player when they get an advancement? If that is possible how would I make an advancement for when the player joins the world and change my code for to give the items to player when they get that advancement? -
[MainlySolved]Adding enchanted items to inventory on player spawn
Blue_Atlas replied to Blue_Atlas's topic in Modder Support
Actually I am having a problem. My code adds the items to inventory every time the player enters the world. How would I did this so players won't be able to exploit it to get unlimited items? P.S. Will my code work on servers? It's the same as above except it is now static. The servers in question are servers running the mod i make as well as LAN with my friends -
[MainlySolved]Adding enchanted items to inventory on player spawn
Blue_Atlas replied to Blue_Atlas's topic in Modder Support
It is working now thank you guys for the help -
[MainlySolved]Adding enchanted items to inventory on player spawn
Blue_Atlas replied to Blue_Atlas's topic in Modder Support
Okay then it i call MinecraftForge.EVENT_BUS.register(EventHandler.class) in my init method? -
[MainlySolved]Adding enchanted items to inventory on player spawn
Blue_Atlas replied to Blue_Atlas's topic in Modder Support
So let's see if I have this now: I put the method inside my init and inside the () i put EventHandler.class That right? -
[MainlySolved]Adding enchanted items to inventory on player spawn
Blue_Atlas replied to Blue_Atlas's topic in Modder Support
But where do I put that method? -
[MainlySolved]Adding enchanted items to inventory on player spawn
Blue_Atlas replied to Blue_Atlas's topic in Modder Support
No I did not. Look at my code above. It has everything except being registered which is done (from what I was seeing) using MinecraftForge.EVENT_BUS.register() -
[MainlySolved]Adding enchanted items to inventory on player spawn
Blue_Atlas replied to Blue_Atlas's topic in Modder Support
I have read the document several times and I cannot find anything about where the registry code goes -
[MainlySolved]Adding enchanted items to inventory on player spawn
Blue_Atlas replied to Blue_Atlas's topic in Modder Support
Is that picture really necesary? So I put MincraftForge.EVENT_BUS.register(EventHandler) at the start of my eventhandler? -
[MainlySolved]Adding enchanted items to inventory on player spawn
Blue_Atlas replied to Blue_Atlas's topic in Modder Support
What class? My main class? Or the evenhandler class?