Jump to content
Search In
  • More options...
Find results that contain...
Find results in...


  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About tlr38usd

  • Rank
    Stone Miner


  • Gender
  • Personal Text
    I am new!
  1. I have an entity that only renders on the client it was created on. I would like it to render on all the players clients but im not sure how. The entity is a projectile similar to an arrow.
  2. It seems every mod registers their entities with EntityRegistry.registerModEntity. Is there any way to access all the registered mobs? I would like to make it so that I could use a string, say "Cobra", and it gets me a mod entity named "Cobra"
  3. Ok, can someone please tell me how to use packets? I've been told they're very easy to do and almost every problem I've encountered in my modding adventures seems to be fixable by packets, but I have no idea how to use them and the post on the wiki is unhelpful. If someone could slowly walk my through them I would be very much appreciative.
  4. It's not an entity living either =P Just a plain entity. It's a projectile that renders as it's itemstack and when the player collides they pick up that itemstack.
  5. It's not a tile entity though =P Just plain entity. Is there anything like it for them?
  6. I have an entity that stores an itemstack in nbt and when it renders it uses that stack. However, when I unload and reload the world, the read/write to nbt is only called server side so according to the entity it's stack is null and it doesn't render. How would I fix this?
  7. isBookEnchantable doesn't activate at all unless the item ID is the enchanted book idea, looked at the source =/
  8. Thank you! I will definitely look at that =D I had seen the event before but had no idea how it was used. Now I do, sort of, we'll see =D
  9. but after x amount of ticks, not after world load / unload, I'll try removing it though. A lot of the code is take from EntityArrow.
  10. I had played around a bit with the whole bitflag system before and had a really crude setup created for potions. I'd like to find a better way though because as far as I know there are only so many combinations. I'll look at isBookEnchantable for the anvil.
  11. package TuxWeapons.TuxCraft.entity; import java.util.Iterator; import java.util.List; import net.minecraft.block.Block; import net.minecraft.entity.Entity; import net.minecraft.entity.EntityLiving; import net.minecraft.entity.EntityLivingBase; import net.minecraft.entity.IProjectile; import net.minecraft.entity.player.EntityPlayer; import net.minecraft.item.ItemStack; import net.minecraft.nbt.NBTTagCompound; import net.minecraft.util.AxisAlignedBB; import net.minecraft.util.DamageSource; import net.minecraft.util.MathHelper; import net.minecraft.util.MovingObjectPosition; import net.minecraf
  12. Is there a way to add anvil/potion recipes? For instance if I wanted to add an anvil recipe where a weapon plus an emerald gives it an emerald upgrade. Or for the brewing stand, a water bottle plus a melon yields a melon drink etc.
  13. Yes it ceases to exist. So when I reload the chunk it's not there.
  14. Is there anyway to save the entity then? I know when you spawn a zombie for instance and give it a name it won't despawn. Or even after you unload the game the zombie will still try to kill you when you reload. It seems like there should be a simple fix, but I'm not sure about it.
  15. Any entity I make that does not extend EntityLiving from seems to despawn from the game whenever I unload the world / chunk. I have a lot of important technical entities so this is a big problem that I'm not sure how to solve.
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.