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.

Eixix

Members
  • Joined

  • Last visited

  1. Oh for gods sake there was a typo ... How dumb actually... I know basic Java, but I'm struggeling with the weird structure Minecraft has from time to time... First term computer science... Thanks anyway
  2. But this is an ItemEntity there are no such fields ._. Or I am too dumb to find them...
  3. So how do I get the coordinates from the EntitySodium transferred to the EntityPrimedTNT?
  4. You're the real MVP Ok last question on a very basic thing: How do I spawn already existing entities? In this case a primed TNT at the location of the Item? Sorry for all the questions, but I'm not really into entities... Is there some kind of documentation for 1.8 modding? Thanks, Eixix
  5. Sorry for answering so late, had to do a lot at university... Can you describe how to copy them to the new entity? Thank you! Yep, I'm a total noob, merry christas
  6. Thanks for your help! I got a custom EntityItem now, but the thing is, that it will not render, neither i can pick it up once i threw it on the ground. This is my Item Class (ItemSodium.java) package tv.Tunfisch.HardcoreSilicon.Items; import net.minecraft.entity.Entity; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.Item; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import tv.Tunfisch.HardcoreSilicon.Entity.EntitySodium; public class ItemSodium extends Item{ ItemStack itemSodium; public ItemSodium(){ } @Override public boolean hasCustomEntity(ItemStack stack) { return true; } @Override public Entity createEntity(World world, Entity location, ItemStack itemstack) { return new EntitySodium(world); } } This is my Custom Entity (EntitySodium.java) - side note: I did not yet implement the explosion package tv.Tunfisch.HardcoreSilicon.Entity; import net.minecraft.entity.Entity; import net.minecraft.entity.item.EntityItem; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.world.World; import tv.Tunfisch.HardcoreSilicon.Register.ItemRegister; public class EntitySodium extends EntityItem{ public EntitySodium(World worldIn) { super(worldIn); setEntityItemStack(new ItemStack(ItemRegister.itemSodium)); } @Override public void onEntityUpdate(){ if (this.inWater){ } } } Thanks for being patient with me im not a native speaker and just began to develop Minecraft Mods Greetings, Edit: Removed pastebin links
  7. Hey there! I was wondering whether it's possible to detect when an item is dropped into the water and let the item explode upon impact or not? Messed a bit around with the onDroppedByPlayer Event, but didn't manage to get it done! Thanks for the help, Eixix

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.