CustomiesDevs/Customies

Block delay whilst placing

Opened this issue · 4 comments

Hey! So essentially on my server were using our custom blocks for buildings etc

They seem to have a delay and aren’t as smooth as default blocks. Like for example if you attempt to jump and keep placing a block under you to stack up, you will fall to the side because of the delay, the block pushing you and you falling off.

Is there a resolution for this?

To make sure this is related to Customies, could you make a vanilla world with an addon with custom blocks and test doing the exact same thing there?

Tried it, theres no delay on the vanilla world.

This issue is caused because this line:

// The 'minecraft:on_player_placing' component is required for the client to predict block placement, making
// it a smoother experience for the end-user.
$components->setTag("minecraft:on_player_placing", CompoundTag::create());

That component actually causes more problems than benefits, we could remove it and let each block decide whether to use it or not.

@IvanCraft623 Could you provide an example of how that causes issues? Have you tested with/without that?