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.

ExcuseMyLuck

Members
  • Joined

  • Last visited

  1. public class HolyDimensions { @Instance public static HolyDimensions instance; @Init public void load(FMLInitializationEvent evt) { DimensionManager.registerProviderType(125, WorldProviderHeaven.class, false); DimensionManager.registerDimension(125, 125); } }
  2. Thats what it is doing. I dont know how to fix it either.
  3. If I use "par5Entity.travelToDimension(125);", the player keeps teleporting instead of teleporting and being able to walk away.
  4. Thank you for the code, but where would I insert it? The BlockPortal class? And would I just copy and paste the method into the class or would I take out one method and replace it with this one? It's a static method, put it wherever you want. And don't replace anything with it. Okay. So I typed in the teleport code and made the DimChange class(thank you again for the codes), but how do I call this method when the player enters the portal? Here is a snipit of the BlockPortal class: public void onEntityCollidedWithBlock(World par1World, int par2, int par3, int par4, Entity par5Entity) { if (par5Entity.ridingEntity == null && par5Entity.riddenByEntity == null) { par5Entity.setInPortal(); } } Can you help me with getting the player to enter the correct dimension? Once again, thank you SOOOOOO much for your help so far. And Im sorry for being such a code n00b.
  5. Thank you for the code, but where would I insert it? The BlockPortal class? And would I just copy and paste the method into the class or would I take out one method and replace it with this one?
  6. Im going to use the normal portal and then build off that. I would give the code for it, but I was told that I am not suppose/allowed to put mojang code.
  7. Hey everybody. I have been stuck on this for quite a while and have played with quite a it of code(which I returned back to normal). I cannot figure out how to make the portal block send a player to my custom dimension instead of the nether. Any help would be appreciated. Thanks in advance.
  8. Okay. I wont post full classes anymore. Any then how would I go about making the fire create a portal to my dimension?
  9. Okay. So I am trying to create a dimension. I have everything working(pretty much), but I am trying to make the portal now. I have been stuck on how flint&steel creates the nether portal. Can anybody explain it to me? The item file is below for reference.

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.