#paper
1 messages ยท Page 29 of 1
Expected behavior
normal block placement
Observed/Actual behavior
https://github.com/user-attachments/assets/9106f2db-174b-44c0-818f-51ad52eeca2c
https://github.com/user-attachments/assets/572744bb-d2b0-40fa-ae76-e321e86f5c08
Steps/models to reproduce
https://github.com/user-attachments/assets/9106f2db-174b-44c0-818f-51ad52eeca2c
https://github.com/user-attachments/assets/572744bb-d2b0-40fa-ae76-e321e86f5c08
Plugin and Datapack List
No
Paper version
paper-1.21.4-232
Other
i dont know
Hi, please try in the latest release (1.21.10).
https://papermc.io/downloads/paper
I'm guessing this probably has something to do with the player already being inside the block from the server's perspective, so it prevents you from placing a block inside of them.
However, since both 1.21.4 and offline mode are not supported by us, I'll be closing this for now.
This pull request does not fix the issue.
the problem persists on the latest version of Paper 1.21.10
getEntitySpawnReason is supposed to be NotNull, but can return null if it's called on an entity at a bad time (i.e. in an event before the entity is fully added to the world). This PR makes it return DEFAULT in such cases to indicate that it's missing a spawn reason.
I barely know if this is even a fix we should have.
MC-179072 was never marked as confirmed in the first place?
Additionally, why are we full stopping the goal, why are we not (like machine mentioned in the original PR) doing this with all the other tick checks to slowly stop the swelling goal on "target loss".
I'll poke machine about it, but I think the better patch for this would be
--- a/net/minecraft/world/entity/ai/goal/SwellGoal.java
+++ b/net/minecraft/world/entity/ai/goal/SwellGoal.java
@@ -40,7 +_,7 @@
public void tick() {
if (this.target == null) {
this.creeper.setSwellDir(-1);
- } else if (this.creeper.distanceToSqr(this.target) > 49.0) {
+ } else if (this.creeper.distanceToSqr(this.target) > 49.0 || !net.minecraft.world.entity.EntitySelector.NO_CREATIVE_OR_SPECTATOR.test(this.target)) { // Paper - Fix MC-179072 - consider creative / spectator players as out of reach
this.creeper.setSwellDir(-1);```...
ad1450c Use per-world difficulty and gamerules for monster... - Phoenix616
Hi, I'm interested in Paper having api for listing hidden players. One thing I would bring up is that it would be helpful for there to be a method which hides a player without ever unlisting them. The reason for this is that, if I'm reading the commit correctly, calling Player#hidePlayer and then Player#listPlayer sends an unnecessary ClientboundPlayerInfoUpdatePacket. This could allow client-side modifications to detect when a player was hidden.
Additionally, it seems like this PR has been forgotten about. Is it just due to no one having time to make the necessary changes or is there a different issue? I've never contributed to Paper before but I'd be willing to help.
@Cubicake Hey feel free to do this PR, I've abandoned it for various reasons such as availability and length of the PR Queue. I'll close it here. Feel free to build this off latest just ensure that you take into account the comments left here while building your PR. Welcome to PaperMC If you need help during your PR process feel free to jump into the discord. Also look at the Contributing.MD which is very helpful for setting things up.
Can reproduce this, Still happening in 1.21.11 too.
Even with vd=32, I still can get to happen quite a lot. The only fix that works for me is relogging, even changing the view-distance in the client settings or via the API does not make the chunks load sadly.
Here is a chunk dump from one such occassion: https://pastes.dev/Ye1jNo3l8Z
This is mainly used by BKCommonLib and seems to be some kind of "internal api".
The comment should be on a single line here
4267784 Attempt to provide position for no permission comm... - jpenilla