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

Tats

Members
  • Posts

    2
  • Joined

  • Last visited

Tats's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Thank you for your reply! At first, the property changed only in server side, so I used SynchedEntityData, then it worked!!
  2. Thanks to this forum, I succeeded to summon my own entity. Now I want to control it by command, but can not access to it. MyEntity.java has a property, ‘isFlying’ like this: public class MyEntity extends Animal { public boolean isFlying = false; … } And I want to change the flag by command like these, of course failed (showed no error message): data merge entity @e[type=mymod:myentity, limit=1, name="myentity"] {isFlying: 1b} data merge entity @e[type=mymod:myentity, limit=1, name="myentity"] {Attributes: [{Name:"generic.isFlying", Base:1b}]} Any good way to change the flag of the entity object? Thanks in advance.
×
×
  • Create New...

Important Information

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