Package net.minecraft.world.item
Class AdventureModeCheck
java.lang.Object
net.minecraft.world.item.AdventureModeCheck
-
Field Summary
Modifier and TypeFieldDescriptionprivate boolean
private BlockInWorld
private boolean
private final String
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
areSameBlocks
(BlockInWorld p_186333_, BlockInWorld p_186334_, boolean p_186335_) boolean
test
(ItemStack p_204086_, Registry<Block> p_204087_, BlockInWorld p_204088_)
-
Field Details
-
tagName
-
lastCheckedBlock
-
lastResult
private boolean lastResult -
checksBlockEntity
private boolean checksBlockEntity
-
-
Constructor Details
-
AdventureModeCheck
-
-
Method Details
-
areSameBlocks
private static boolean areSameBlocks(BlockInWorld p_186333_, @Nullable BlockInWorld p_186334_, boolean p_186335_) -
test
-