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.

Stronz

Members
  • Joined

  • Last visited

Everything posted by Stronz

  1. Ok, I made a bit of progress. I registerd an EventHook to the MinecraftForge.EVENT_BUS.register(new MyEventHook()); inside the eventhook: in the loadEntitys function i am building the new Entitys from a xml file: but still i cant see the entity when i port to 60 60 60. Even tryed to sysout() the position of my entity in the update function : I dont' get why i dont get any sysout msg even though i registered and spawned the entity. Again help would be a appreciated
  2. I added the fallowing in my main class, but i don't get any std out msg. Neither on if a run the mod via Starting the server and joning it, and also just starting the client. also i changed : to hopeing that it will allow me to use the onWorldLoad on the server. Did not work.
  3. Thanks i will try this.
  4. I am having trouble when trying to spawn an Entity when my world is loading. The problem is that i need to spawn it when the world is loaded (No EntityRegistry.addSpawn(...)). I need this mod to make an Adventure map, which means that every entity should only be spawned once. To get my hands on a point where to world is loaded i used: Hidden An in my WorldLoadTicker: The problem is that i can't spawn entitys in a remote world. but when i run the code i only receive an STDOUT msg which tells me that my world is remote. (entity spawning does work, but the entity does not move and i read, that i should never use "ModLoader.getMinecraftInstance().theWorld.spawnEntityInWorld()" if theWorld.isRemote()) I hope that I did make my problem clear. A quick respone will be appreciated. (pls forgive my possible bad spelling i am not a native english speaker)

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.