2019-06-28 17:55:20 -04:00
|
|
|
CLASS net/minecraft/class_1945 net/minecraft/world/ModifiableWorld
|
2020-06-24 12:34:48 -04:00
|
|
|
COMMENT Represents a modifiable world where block states can be changed and entities spawned.
|
2019-09-12 09:34:29 -04:00
|
|
|
METHOD method_22352 breakBlock (Lnet/minecraft/class_2338;Z)Z
|
|
|
|
ARG 1 pos
|
|
|
|
ARG 2 drop
|
2020-06-21 17:00:51 -04:00
|
|
|
METHOD method_30092 setBlockState (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;II)Z
|
|
|
|
COMMENT Updates the block state at a position, calling appropriate callbacks.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>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
|
2021-04-11 08:08:07 -04:00
|
|
|
COMMENT interacting with the world in this way.
|
2020-06-21 17:00:51 -04:00
|
|
|
COMMENT
|
2021-04-02 18:52:20 -04:00
|
|
|
COMMENT <p>See {@link #setBlockState(BlockPos, BlockState, int)} for a list of accepted flags.
|
2020-06-21 17:00:51 -04:00
|
|
|
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
|
|
|
|
ARG 4 maxUpdateDepth
|
|
|
|
COMMENT the limit for the cascading block updates
|
2020-06-28 07:42:02 -04:00
|
|
|
METHOD method_30093 breakBlock (Lnet/minecraft/class_2338;ZLnet/minecraft/class_1297;I)Z
|
|
|
|
ARG 1 pos
|
|
|
|
ARG 2 drop
|
|
|
|
ARG 3 breakingEntity
|
|
|
|
ARG 4 maxUpdateDepth
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_8649 spawnEntity (Lnet/minecraft/class_1297;)Z
|
2019-09-12 09:34:29 -04:00
|
|
|
ARG 1 entity
|
|
|
|
METHOD method_8650 removeBlock (Lnet/minecraft/class_2338;Z)Z
|
|
|
|
ARG 1 pos
|
|
|
|
ARG 2 move
|
2019-08-28 13:46:02 -04:00
|
|
|
METHOD method_8651 breakBlock (Lnet/minecraft/class_2338;ZLnet/minecraft/class_1297;)Z
|
2019-06-28 17:55:20 -04:00
|
|
|
ARG 1 pos
|
2019-09-12 09:34:29 -04:00
|
|
|
ARG 2 drop
|
|
|
|
ARG 3 breakingEntity
|
2019-06-28 17:55:20 -04:00
|
|
|
METHOD method_8652 setBlockState (Lnet/minecraft/class_2338;Lnet/minecraft/class_2680;I)Z
|
2019-12-26 07:32:35 -05:00
|
|
|
COMMENT Updates the block state at a position, calling appropriate callbacks.
|
|
|
|
COMMENT
|
|
|
|
COMMENT <p>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
|
2021-04-11 08:08:07 -04:00
|
|
|
COMMENT interacting with the world in this way.
|
2019-12-26 07:32:35 -05:00
|
|
|
COMMENT
|
2021-04-02 18:52:20 -04:00
|
|
|
COMMENT <p>The accepted values of these flags are:
|
|
|
|
COMMENT <ul>
|
|
|
|
COMMENT <li>{@link net.minecraft.block.Block#NOTIFY_ALL Block.NOTIFY_ALL}</li>
|
|
|
|
COMMENT <li>{@link net.minecraft.block.Block#NOTIFY_NEIGHBORS Block.NOTIFY_NEIGHBORS}</li>
|
|
|
|
COMMENT <li>{@link net.minecraft.block.Block#NOTIFY_LISTENERS Block.NOTIFY_LISTENERS}</li>
|
|
|
|
COMMENT <li>{@link net.minecraft.block.Block#NO_REDRAW Block.NO_REDRAW}</li>
|
|
|
|
COMMENT <li>{@link net.minecraft.block.Block#REDRAW_ON_MAIN_THREAD Block.REDRAW_ON_MAIN_THREAD}</li>
|
|
|
|
COMMENT <li>{@link net.minecraft.block.Block#FORCE_STATE Block.FORCE_STATE}</li>
|
|
|
|
COMMENT <li>{@link net.minecraft.block.Block#SKIP_DROPS Block.SKIP_DROPS}</li>
|
|
|
|
COMMENT <li>{@link net.minecraft.block.Block#MOVED Block.MOVED}</li>
|
|
|
|
COMMENT <li>{@link net.minecraft.block.Block#SKIP_LIGHTING_UPDATES Block.SKIP_LIGHTING_UPDATES}</li>
|
|
|
|
COMMENT </ul>
|
2021-03-28 15:33:12 -04:00
|
|
|
COMMENT
|
|
|
|
COMMENT @see #setBlockState(BlockPos, BlockState, int, int)
|
2018-12-05 09:11:37 -05:00
|
|
|
ARG 1 pos
|
2019-12-26 07:32:35 -05:00
|
|
|
COMMENT the target position
|
2018-12-05 09:11:37 -05:00
|
|
|
ARG 2 state
|
2019-12-26 07:32:35 -05:00
|
|
|
COMMENT the block state to set
|
2019-01-09 12:20:38 -05:00
|
|
|
ARG 3 flags
|
2019-12-26 07:32:35 -05:00
|
|
|
COMMENT the bitwise flag combination, as described above
|