diff --git a/mappings/net/minecraft/world/ModifiableWorld.mapping b/mappings/net/minecraft/world/ModifiableWorld.mapping index 2286441e8d..bb9224910e 100644 --- a/mappings/net/minecraft/world/ModifiableWorld.mapping +++ b/mappings/net/minecraft/world/ModifiableWorld.mapping @@ -12,6 +12,27 @@ CLASS net/minecraft/class_1945 net/minecraft/world/ModifiableWorld ARG 2 drop ARG 3 breakingEntity METHOD method_8652 setBlockState (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;I)Z + COMMENT Updates the block state at a position, calling appropriate callbacks. + COMMENT + COMMENT

When called on the server, the new block state is stored and propagated to clients and listeners as dictated + COMMENT by the supplied flags. Note that calling this on the client will update the world locally, but may not see the + COMMENT change persisted across loads. It's recommended to check whether this world is client before + COMMENT interacting with the world in this way.

+ COMMENT + COMMENT

Accepted values of the flags are a bitset combination of the following:

+ COMMENT + COMMENT ARG 1 pos + COMMENT the target position ARG 2 state + COMMENT the block state to set ARG 3 flags + COMMENT the bitwise flag combination, as described above