Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ThatCuteOne opened this issue Jan 1, 2025 · 0 comments

Comments

@ThatCuteOne
Copy link

ThatCuteOne commented Jan 1, 2025

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant