mirror of https://github.com/FabricMC/yarn.git
More set block state flags (#2185)
* More set block state flags * Uncomment DEFAULT flag * Bump unpick version to 2.1.1
This commit is contained in:
parent
e9b45f9afd
commit
19df3cdfbf
|
@ -3,7 +3,7 @@ org.gradle.jvmargs=-Xmx1G
|
|||
|
||||
enigma_version=0.26.0
|
||||
stitch_version=0.5.1+build.77
|
||||
unpick_version=2.1.0
|
||||
unpick_version=2.1.1
|
||||
# Loader is only used by javadoc generation/linking
|
||||
fabric_loader_version=0.11.1
|
||||
jetbrains_annotations_version=20.1.0
|
||||
|
|
|
@ -11,6 +11,11 @@ public final class SetBlockStateFlags {
|
|||
*/
|
||||
public static final int NOTIFY_LISTENERS = 2;
|
||||
|
||||
/**
|
||||
* The default setBlockState behavior. Same as {@code PROPAGATE_CHANGE | NOTIFY_LISTENERS}.
|
||||
*/
|
||||
public static final int DEFAULT = PROPAGATE_CHANGE | NOTIFY_LISTENERS;
|
||||
|
||||
/**
|
||||
* Used in conjunction with {@link NOTIFY_LISTENERS} to suppress the render pass on clients.
|
||||
*/
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
v2
|
||||
|
||||
flag set_block_state_flags net/fabricmc/yarn/constants/SetBlockStateFlags DEFAULT
|
||||
flag set_block_state_flags net/fabricmc/yarn/constants/SetBlockStateFlags PROPAGATE_CHANGE
|
||||
flag set_block_state_flags net/fabricmc/yarn/constants/SetBlockStateFlags NOTIFY_LISTENERS
|
||||
flag set_block_state_flags net/fabricmc/yarn/constants/SetBlockStateFlags NO_REDRAW
|
||||
|
@ -11,3 +12,27 @@ flag set_block_state_flags net/fabricmc/yarn/constants/SetBlockStateFlags SKIP_L
|
|||
|
||||
target_method net/minecraft/world/ModifiableWorld setBlockState (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;I)Z
|
||||
param 2 set_block_state_flags
|
||||
target_method net/minecraft/world/ModifiableWorld setBlockState (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;II)Z
|
||||
param 2 set_block_state_flags
|
||||
target_method net/minecraft/world/World updateListeners (Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;I)V
|
||||
param 3 set_block_state_flags
|
||||
target_method net/minecraft/block/AbstractBlock$AbstractBlockState prepare (Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;II)V
|
||||
param 2 set_block_state_flags
|
||||
target_method net/minecraft/block/AbstractBlock$AbstractBlockState updateNeighbors (Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;I)V
|
||||
param 2 set_block_state_flags
|
||||
target_method net/minecraft/block/AbstractBlock$AbstractBlockState updateNeighbors (Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;II)V
|
||||
param 2 set_block_state_flags
|
||||
target_method net/minecraft/block/Block replace (Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;II)V
|
||||
param 4 set_block_state_flags
|
||||
target_method net/minecraft/block/AbstractBlock prepare (Lnet/minecraft/block/BlockState;Lnet/minecraft/world/WorldAccess;Lnet/minecraft/util/math/BlockPos;II)V
|
||||
param 3 set_block_state_flags
|
||||
target_method net/minecraft/block/TallPlantBlock placeAt (Lnet/minecraft/world/WorldAccess;Lnet/minecraft/block/BlockState;Lnet/minecraft/util/math/BlockPos;I)V
|
||||
param 2 set_block_state_flags
|
||||
target_method net/minecraft/client/network/ClientPlayNetworkHandler method_34007 (ILnet/minecraft/util/math/BlockPos;Lnet/minecraft/block/BlockState;)V
|
||||
param 0 set_block_state_flags
|
||||
target_method net/minecraft/command/argument/BlockStateArgument setBlockState (Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;I)Z
|
||||
param 2 set_block_state_flags
|
||||
target_method net/minecraft/structure/Structure place (Lnet/minecraft/world/ServerWorldAccess;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/util/math/BlockPos;Lnet/minecraft/structure/StructurePlacementData;Ljava/util/Random;I)Z
|
||||
param 5 set_block_state_flags
|
||||
target_method net/minecraft/structure/Structure updateCorner (Lnet/minecraft/world/WorldAccess;ILnet/minecraft/util/shape/VoxelSet;III)V
|
||||
param 1 set_block_state_flags
|
||||
|
|
Loading…
Reference in New Issue