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.

coolboy4531

Members
  • Joined

  • Last visited

Everything posted by coolboy4531

  1. You better null check [!=null], create an if statement to check if it is not null before proceeding.
  2. Why not try events like WorldLoadEvent and stuff?
  3. Can we see your DimensionShift class?
  4. What are you trying to make it look like?
  5. You can create a custom Potion Effect and override methods that cause the particles to spawn.
  6. Hmm. I don't see anything unusual. Let me take a look at any classes that correspond to the block you are trying to use. BlockDirte would be a good class to show to me. --- Let me get this straight, when you change: p_147424_3_[j3 += short1] = Blocks.stone; to p_147424_3_[j3 += short1] = ModTest.BlockDirte; It doesn't generate, but when you change it back - it generates?
  7. You mean like the Enchanted Golden Apple? Look at the source of the golden apple. Not happenin' son. "The more you learn."
  8. What are you trying to change null into? It shouldn't just change back by itself... -.-'
  9. Most likely not, the File path is directly hardcoded.
  10. Can we see your ModTest class? Thanks :3
  11. Example: public static Item example; @EventHandler public void preInit(FMLPreInitializationEvent e) { example = new ExampleItem().setUnlocalizedName("exampleItem"); } Come on dude, learn basic Java before modding.
  12. Found it. Try using this: http://www.minecraftforum.net/topic/2244418-172-windows-how-to-setup-a-minecraftforge-172-workspace/
  13. That error is suppose to happen because of a Forge mistake.
  14. Hmm. There might be another way. Can I see your whole entire Entity class - real quick?
  15. How did you do - and expect it to load? Forge doesn't read it in class construction - only in the preInit method. public static Item BucketHotSpring = new BucketHotSpring(blockCrystalFluid, FluidCrystalID);
  16. Client errors, happens with un-modded (vanilla) launchers. Try restarting your game launcher (client) and its all good.
  17. Never created a dimension in 1.7, but I'd have to bet that you should change: if (this.worldServerInstance.provider.dimensionId != ConfigurationHelper.Eden) to this: if (this.worldServerInstance.provider.dimensionId == ConfigurationHelper.Eden) For your sake, this is located in your Teleporter [TeleporterEden]
  18. You probably used some code from the Sky [End] portal generator.
  19. Not sure - read somewhere that you need an empty line in your MANIFEST.MF, like this: Manifest-Version: 1.0 FMLCorePlugin: com.fluffy.lantern.LanternPlugin
  20. I don't think that's your full crash report.
  21. I'll try and give you the basic fields you need and you can rearrange them (if you really know how to use these, if not I'll give you cheats). * looks at 1 month old stuff * This might be a long post, but worth it for people to learn some things. Like I said I created a Teleportation Handler with a teleport method. public void teleport(World world, EntityPlayer player) I checked if the world is not remote[server]: (!world.isRemote) Then got the player's position - adding the yCoord (++) by 1 to make sure you aren't inside the block. Vec3 vec3 = player.getPosition(1.0F); vec3.yCoord++; Then I get the look position, and send an invisible MovingObjectPosition - we'll save the block coord it hits later. I use [World#clip] because its a hardcoded method that helps with this - don't know what to call it Vec3 lookVec = player.getLook(1.0F); Vec3 aVector = vec3.addVector(lookVec.xCoord * 50.0D, lookVec.yCoord * 50.0D, lookVec.zCoord * 50.0D); MovingObjectPosition movingObjPos = world.clip(vec3, aVector); I then check if the MovingObject [movingObjPos] is not null, and the [typeOfHit] is a block (MovingObjectPosition.MovingObjectType.BLOCK) proceeding, I create 3 ints and put each int with the [blockX, blockY, blockZ] of the MovingObject [movingObjPos] I create an instance of the player as EntityPlayerMP - below if you are confused and/or need help. EntityPlayerMP playerMP = (EntityPlayerMP)player; Once again, I check if EntityPlayerMP's ServerNetHandler's Connection is not closed. if (!playerMP.playerNetServerHandler.connectionClosed) I set the PlayerMP's position whilst updating it (setPositionAndUpdate): playerMP.setPositionAndUpdate((double) blockX, (double) ((float) blockY + 1F), (double) blockZ); Be sure after that you set the player's fallDistance to 0 floats [0F]. Phew. I'm done
  22. Can I see your GenerateStructure() method?
  23. *facedesk* Let me repeat "exactly" what darty11 said. @EventHandler public void PreInit(FMLPreInitializationEvent event) { } If you actually read the changes in 1.7 you would know. You are placing it in FMLInitializationEvent; Forge doesn't use that anymore for these kinds of registrations.
  24. iChun's Morph Mod changes the camera viewpoint without using ASM. https://github.com/iChun/Morph

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.