Carpet

Carpet

3M Downloads

changing the one of the range attributes for fake players does not have any effect

ThatCuteOne opened this issue ยท 2 comments

commented

Description
if you change either the entity_interaction_range or the block_interaction_range the fake player still has the default range

Possably related bug reports:
#1963
#1882
I also found this pull request
#1883

Steps to reproduce

  1. spawn a player
  2. move more then 6 blocks away from the player
  3. make the player look at you with /rotate [FAKEPLAYERNAME] facing entity @s
  4. run /attribute [FAKEPLAYERNAME] minecraft:entity_interaction_range base set 200
  5. run /player [FAKEPLAYERNAME] attack once

Expected: The player attacks you
What really happends: The player does not attack you

For the block_interaction_range

  1. Repeat steps 1-3
  2. Run /attribute [FAKEPLAYERNAME] minecraft:block_interaction_range base set 200
  3. Place two blocks stacked on top of each other between you and the player
  4. Give the player blocks(/give [FAKEPLAYERNAME] stone 200)
  5. run /player [FAKEPLAYERNAME] use once

Expected: The player places a block
What really happends: The player does not place a block

Game Info
Fabric Version: 0.16.9
Minecraft Versions: 1.21.3,1.21.4
Carpet Versions: 1.4.158+v241022, 1.4.161+v241203