Jump to content

ExcuseMyLuck

Members
  • Posts

    13
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Personal Text
    I am new!

ExcuseMyLuck's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  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.
×
×
  • Create New...

Important Information

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