Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-109615

RequiredPlayerRange in spawners not working

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 16w44a
    • None
    • Unconfirmed

      Command:

      /setblock ~ ~0 ~ minecraft:mob_spawner 0 replace {SpawnData:{id:"minecraft:husk",CustomName:"Lightning Man",CustomNameVisible:1,ArmorItems:[{id:iron_boots,Count:1b,tag:{AttributeModifiers:[{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.25,Operation:0,UUIDLeast:542729,UUIDMost:951213,Slot:"feet"}],display:{Name:"Kinetic Boots",Lore:[Tier 5]},ench:[{id:0,lvl:5},{id:2,lvl:10},{id:3,lvl:5},{id:10,lvl:4},{id:70,lvl:10}]}},{id:golden_leggings,Count:1b,tag:{AttributeModifiers:[{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:0.4,Operation:0,UUIDLeast:784986,UUIDMost:530044,Slot:"legs"}],display:{Name:"Electric Leggings",Lore:[Tier 4]},ench:[{id:0,lvl:5},{id:1,lvl:4},{id:3,lvl:4},{id:34,lvl:5}]}},{id:golden_chestplate,Count:1b,tag:{display:{Name:"Electric Chestplate",Lore:[Tier 6]},ench:[{id:1,lvl:8},{id:3,lvl:8},{id:7,lvl:10},{id:10,lvl:10},{id:70,lvl:10}]}},{id:skull,Damage:3,Count:1b,tag:{SkullOwner:{Id:"1b613568-3ac0-4268-9afa-deb372a03f53",Properties:{textures:[{Value:"eyJ0ZXh0dXJlcyI6eyJTS0lOIjp7InVybCI6Imh0dHA6Ly90ZXh0dXJlcy5taW5lY3JhZnQubmV0L3RleHR1cmUvZGE3Y2Y0NDg1MDJjNWNiOGQ0YTlmODg3MTY0ODRkZmFmM2M3NGQyNjYyOGI3OTBlYjdlMjY4ZGU3ODZjMyJ9fX0="}]}}}}],HandItems:[{id:iron_sword,Count:1b,tag:{AttributeModifiers:[{AttributeName:"generic.knockbackResistance",Name:"generic.knockbackResistance",Amount:1,Operation:0,UUIDLeast:654534,UUIDMost:319635,Slot:"mainhand"},{AttributeName:"generic.movementSpeed",Name:"generic.movementSpeed",Amount:0.3,Operation:0,UUIDLeast:648123,UUIDMost:621767,Slot:"mainhand"},{AttributeName:"generic.attackSpeed",Name:"generic.attackSpeed",Amount:-3.3,Operation:0,UUIDLeast:796704,UUIDMost:541999,Slot:"mainhand"}],display:{Name:"Lightning Rod",Lore:[Tier 6]},ench:[{id:16,lvl:8},{id:20,lvl:8},{id:71,lvl:10}]}},{id:totem,Count:1b}],ArmorDropChances:[2.0F,1.0F,1.0F,0.0F],HandDropChances:[2.0F,0.085F],Attributes:[{Name:generic.maxHealth,Base:60},{Name:generic.followRange,Base:100},{Name:generic.knockbackResistance,Base:1}],Health:60.0f,PersistenceRequired:1,ActiveEffects:[{Id:10,Amplifier:1,Duration:2000000},{Id:12,Amplifier:1,Duration:200000,ShowParticles:0b}],Passengers:[{id:"llama_spit"}]},SpawnCount:1,SpawnRange:2,RequiredPlayerRange:50,Delay:300,MinSpawnDelay:300,MaxSpawnDelay:500}
      

      even though I've set the player range as '50', it only detects around 15-18 blocks. If this is not a bug, please tell me the right way

            Unassigned Unassigned
            ^Rev^ ^Rev^
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: