net.minecraft.command.argument

public class BlockStateArgument

implements Predicate<CachedBlockPosition>

net.minecraft.commands.arguments.blocks.BlockInput
net.minecraft.class_2247
net.minecraft.command.argument.BlockStateArgument

Field summary

Modifier and TypeField
private static final org.slf4j.Logger
LOGGER
field_60477
LOGGER
private final BlockState
state
field_10632
state
private final Set<Property<?>>
properties
field_10631
properties
private final NbtCompound
tag
field_10633
data

Constructor summary

ModifierConstructor
public (BlockState state, Set<Property<?>> properties, NbtCompound data)

Method summary

Modifier and TypeMethod
public BlockState
getState()
method_9494()
getBlockState()
public Set<Property<?>>
getDefinedProperties()
method_35759()
getProperties()
public boolean
test(BlockInWorld blockInWorld)
method_9493(class_2694 arg0)
test(CachedBlockPosition arg0)
public boolean
test(ServerLevel level, BlockPos pos)
method_35758(class_3218 arg0, class_2338 arg1)
test(ServerWorld world, BlockPos pos)
public boolean
place(ServerLevel level, BlockPos pos, int update)
method_9495(class_3218 arg0, class_2338 arg1, int arg2)
setBlockState(ServerWorld world, BlockPos pos, int flags)
private BlockState
overwriteWithDefinedProperties(BlockState state)
method_65237(class_2680 arg0)
copyPropertiesTo(BlockState state)
private static <T extends Comparable<T>> BlockState
copyProperty(BlockState target, BlockState source, Property<T> property)
method_65238(class_2680 arg0, class_2680 arg1, class_2769<T> arg2)
copyProperty(BlockState to, BlockState from, Property<T> property)
public boolean
test(Object blockInWorld)
test(Object arg0)
test(Object context)
private static String
lambda$place$1()
method_71546()
method_71546()
private static String
lambda$place$0()
method_71547()
method_71547()