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.

thebest108

Members
  • Joined

  • Last visited

Everything posted by thebest108

  1. Is it your y spazzing out? I think it's solved by doing yOffset = yOffset/3 I haven't tried it since 1.4 but it might still work
  2. I've recently been working on a mod similar to zepplen, but there are some serious roadblocks. For 1 even though the entity is solid, I frequently fall through it. 2nd the entities spaz out on the y axis, if I move a zepplen forward, the blocks y position will be going up and down at random. Does anyone have a solution for these problems? (they seem like synchronization issues but I'm not sure)
  3. Where is a blocks position stored?
  4. Zepplen did it, so it's not impossible. I looked through the code but it didn't make much sense. All I managed to make out was something called vector3. Anyone got any ideas?
  5. Forge Events is how I'd do it
  6. Does anyone know how to make a bounding box that is at an angle. Ex: zepplen, the block entities had rotated bounding boxes
  7. I would make a blank entity and that it would spawn whenever the block was initialized. Then, when the block is right clicked it would call the entity's interact function (note: you should change so it does player.mountEntity(this) ) this putting the place on the chair
  8. you could add a boolean to the entity so it would be like boolean hasBeenClicked = false; String[] derp = [{"hi","hello","eat my shorts"}]; Random rand = new Random(); public boolean interact(EntityPlayer player) { if(!player.worldObj.isRemote&&!hasBeenClicked) { player.sendChatToPlayer(derp[rand.nextInt(derp.size()-1)]); hasBeenClicked = true; } return true; }
  9. you could have something like String[] derp = [{"hi","hello","eat my shorts"}]; Random rand = new Random(); public boolean interact(EntityPlayer player) { if(!player.worldObj.isRemote) { player.sendChatToPlayer(derp[rand.nextInt(derp.size()-1)]); } return true; }
  10. you could set its yaw to be the players yaw-180 ?
  11. Add if(!player.worldObj.isRemote){Send chat}
  12. Is there a packet that can send an entity reference or something?
  13. How would I get a world based on dimension Id to send an entity position packet?
  14. How would I get a world based on dimension Id to send an entity position packet?
  15. Buildcraft caused it, your probably using the wrong version of forge
  16. I hate to have to tell you this but that crash log is worth dirt. Post it on pastebin so the bottom doesn't get cut off
  17. I have an entity that when it moves, it moves the player on top with it. The only problem is that while player.move is in effect the player can't jump. Anyone know how to fix this?
  18. 1 more question. My entity is randomly moving up and down and I found out that the position is messed up client side but not server side. How would I tell the client the right position?
  19. For multiblocks do an onRandomUpdate to check if all the blocks are around it, and if yes change all the blocks textures and change their tilentities
  20. Step 1: Make a new class Step 2: Extend the event class that has the method your looking for (all of them are in minecraftforge.events) Step 3: Override the method your looking for Step 4: in your main class, in init put minecraftforge.registerEventBus Also I think you may want to do an entity update , then check if it's on the ground, then check the rest
  21. thebest108 replied to ashtonr12's topic in Modder Support
    I suggest you look at extra biomes as it adds a lot of new plants. If you need help recompiling then pm me
  22. What i suggest is using an entity spawn event, then use entity instanceof entityItem, then if entityItem.itemStack.id-256 = rottenflesh.id, then convert the items position to an int, check if the block at that position-1 is grass, then replacing it.

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.