Jump to content

_Bedrockbreaker_

Members
  • Posts

    56
  • Joined

  • Last visited

Everything posted by _Bedrockbreaker_

  1. I seem to have just fixed it with ((EntityPlayer) entityIn).isCreative() ( the original entity could be any entity when it touches the web-like block).
  2. Silly511, its not showing anything with capabilities, other than has/getCapability, but that takes a weird argument, and V0idWa1k3r, It says target type of the expression must be a functional interface.
  3. Since 1.12, (at least) the entityPlayerMP.theItem...blah blah... Something or other.... Seems to have been removed to test the players gamemode. So how can I do this in 1.12? Trying to make a cobweb-like object, but with a lesser effect. Also needs to not slow down players in creative. The slow down works fine though.
  4. I want an item, that when crafted with different dyes, changes its nbt to reflect the average color, like dyeing leather armor/ sort-of like fireworks. The only thing I can assume I need is two textures, one for static colors, and another for one that is dynamically changed with the color, which would be overlayed onto the first. And how could I take that item and craft it into a block (for example) and still have that block retain its color? or armor crafted with the same item?
  5. I have an item named cat hair that is supposed to drop from shearing cats. The subscibe event recognizes correctly when I have right clicked an ocelot with shears, but I want a timer on each sheared cat (like the sheep) in order for the player to be able to shear the cat again. How would I be able to add an nbt tag to each cat to do this? Also, as side questions, how could I figure out if the cat was tamed, make the cat not sit/stand when clicked, and change the model to a hairless cat when sheared.
  6. Use setMaxDamage(int) in the item class. Remember to subtract one because of zero indexing. Also, setting this to -1 will have infinite durability.
×
×
  • Create New...

Important Information

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