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.

drok0920

Forge Modder
  • Joined

  • Last visited

Everything posted by drok0920

  1. oh ok then how will i get it to always move you towards the block in the shortest path?
  2. i want it to slowly move not instantly move to the block. I would like it to be as if water was moving the entity but towards the block... if you need more info i may be able to supply a mod that does something like this.
  3. Hello, I would like to know how i could make a block suck all entities within a 5 block radius around it toward itself unless the entity is a custom entity. i dont know where to even start making this so please help. Thank you, Drok
  4. No i cant do that because i still need the gravity to pull you down(-y coords)
  5. Hello, I have not try much at making this as i dont understand the code that is used for dimensions. But i would like to know how i would make an up-side down over world dimension? i would like it to generate with all the vanilla biomes (plus any custom ones i make and excluding ones such as desert ocean and any other biome that has gravity-based blocks) but upside down. If you need any more info just ask. I dont expect you to write the mod for me like some people do i just want to be pointed in the right dirrection. Thank you, Drok
  6. Ok thank you jabelar that helped alot so i now know that i need to put actual classes in the api
  7. oh ok im sry... Derp
  8. ok it works now but when i make the method: public void onPlayerTickEvent(PlayerTickEvent event, World world) { so i can use world#getBlock it crashes what am i supposed to do?
  9. ok so then what would i use? FMLCommonHandler.instance().bus().register(new VillageEventHandlerBFM()); woudl this work?
  10. I would use this to register the handler correct? MinecraftForge.EVENT_BUS.register(new VillageEventHandlerBFM()); in my init method?
  11. What would i use to check what block he is standing on?
  12. Hello, I would like to know when a player steps on a certain block using events i believe i have the to LivingUpdateEvent but i dont know what to do from there. Thank you, Drok
  13. ok i got it now but lets say this is an entity can you give some examples for an api for that?
  14. Ok i think i understand now i will post another reply if i still need help? But i do still have one question. Do i have to only use Interfaces for an api or can i also use classes?
  15. ok thank you
  16. can you explain more? I'm not good with events/spawning entities
  17. Ok did i not say that i need it for vanilla mobs? EDIT: Looking back at the post it seems i did not make that clear sorry.
  18. Hello, All i would like to know is how to set "rare" drops for vanilla mobs. By "rare" i mean as rare maybe ever rarer than getting iron from a zombie. Thank you, Drok
  19. Oh that is why i did make it an actual interface so i should make it a class? and because you asked here is what i have in there so far: http://pastebin.com/AbKv4PA8
  20. By the "can i use it in my mod" statement all i mean was when I want to make a mob based on the api i make can i actually implement IElemental or do i have to do it a different way?
  21. Hello, I would like to make an api for my medieval/battle themed mod i'm working on. But i'm not sure how to make an api and can i use the api in my own mod? In the api i think i know what im doing but it gives an error. I have this method in my api: public void registerElemental(IBFMEntityElemental elemental) { } and it gives me this error: Illegal modifier for the interface method registerElemental; only public & abstract are permitted I have folowed the Creating an api topic but it gives me an error. Please help. Thank you, Drok
  22. @jabelar ok i will try that
  23. ok so i found what you are talking about... now if i DONT want it in my forge folder i would just do something liek "C:\Test123\123"
  24. i will look at the build.gradle file

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.