Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Blue_Atlas

Members
  • Joined

  • Last visited

Everything posted by Blue_Atlas

  1. 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?'); }
  2. also i would like implementation. i cannot figure out how to do it
  3. do i put in my registry handler or some other class. and if in registry handler what phase of init
  4. i also need to know where to put this if possible
  5. 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.
  6. 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
  7. i think i need to register it somehow but i dont know how
  8. 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
  9. Also you are using more for a bunch of different versions
  10. As said above: IF YOU HAVE A PROBLEM MAKE YOUR OWN THREAD
  11. So I just use a loot table for the rewards?
  12. 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
  13. 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?
  14. 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
  15. It is working now thank you guys for the help
  16. Okay then it i call MinecraftForge.EVENT_BUS.register(EventHandler.class) in my init method?
  17. 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?
  18. 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()
  19. I have read the document several times and I cannot find anything about where the registry code goes
  20. Is that picture really necesary? So I put MincraftForge.EVENT_BUS.register(EventHandler) at the start of my eventhandler?
  21. What class? My main class? Or the evenhandler class?

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.