Package net.minecraft.command.argument
Class BlockStateArgument
java.lang.Object
net.minecraft.command.argument.BlockStateArgument
- All Implemented Interfaces:
Predicate<CachedBlockPosition>
- Mappings:
Namespace Name official ek
intermediary net/minecraft/class_2247
named net/minecraft/command/argument/BlockStateArgument
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBlockStateArgument(BlockState state, Set<Property<?>> properties, @Nullable NbtCompound data)
-
Method Summary
Modifier and TypeMethodDescriptionboolean
method_35758(ServerWorld serverWorld, BlockPos blockPos)
boolean
setBlockState(ServerWorld serverWorld, BlockPos blockPos, int int2)
boolean
test(CachedBlockPosition cachedBlockPosition)
-
Field Details
-
state
- Mappings:
Namespace Name Mixin selector official a
Lek;a:Lcjx;
intermediary field_10632
Lnet/minecraft/class_2247;field_10632:Lnet/minecraft/class_2680;
named state
Lnet/minecraft/command/argument/BlockStateArgument;state:Lnet/minecraft/block/BlockState;
-
properties
- Mappings:
Namespace Name Mixin selector official b
Lek;b:Ljava/util/Set;
intermediary field_10631
Lnet/minecraft/class_2247;field_10631:Ljava/util/Set;
named properties
Lnet/minecraft/command/argument/BlockStateArgument;properties:Ljava/util/Set;
-
data
- Mappings:
Namespace Name Mixin selector official c
Lek;c:Lmv;
intermediary field_10633
Lnet/minecraft/class_2247;field_10633:Lnet/minecraft/class_2487;
named data
Lnet/minecraft/command/argument/BlockStateArgument;data:Lnet/minecraft/nbt/NbtCompound;
-
-
Constructor Details
-
BlockStateArgument
public BlockStateArgument(BlockState state, Set<Property<?>> properties, @Nullable @Nullable NbtCompound data)- Mappings:
Namespace Name Mixin selector official <init>
Lek;<init>(Lcjx;Ljava/util/Set;Lmv;)V
intermediary <init>
Lnet/minecraft/class_2247;<init>(Lnet/minecraft/class_2680;Ljava/util/Set;Lnet/minecraft/class_2487;)V
named <init>
Lnet/minecraft/command/argument/BlockStateArgument;<init>(Lnet/minecraft/block/BlockState;Ljava/util/Set;Lnet/minecraft/nbt/NbtCompound;)V
-
-
Method Details
-
getBlockState
- Mappings:
Namespace Name Mixin selector official a
Lek;a()Lcjx;
intermediary method_9494
Lnet/minecraft/class_2247;method_9494()Lnet/minecraft/class_2680;
named getBlockState
Lnet/minecraft/command/argument/BlockStateArgument;getBlockState()Lnet/minecraft/block/BlockState;
-
method_35759
- Mappings:
Namespace Name Mixin selector official b
Lek;b()Ljava/util/Set;
intermediary method_35759
Lnet/minecraft/class_2247;method_35759()Ljava/util/Set;
named method_35759
Lnet/minecraft/command/argument/BlockStateArgument;method_35759()Ljava/util/Set;
-
test
- Specified by:
test
in interfacePredicate<CachedBlockPosition>
- Mappings:
Namespace Name Mixin selector official a
Lek;a(Lckb;)Z
intermediary method_9493
Lnet/minecraft/class_2247;method_9493(Lnet/minecraft/class_2694;)Z
named test
Lnet/minecraft/command/argument/BlockStateArgument;test(Lnet/minecraft/block/pattern/CachedBlockPosition;)Z
-
method_35758
- Mappings:
Namespace Name Mixin selector official a
Lek;a(Labj;Lgb;)Z
intermediary method_35758
Lnet/minecraft/class_2247;method_35758(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Z
named method_35758
Lnet/minecraft/command/argument/BlockStateArgument;method_35758(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Z
-
setBlockState
- Mappings:
Namespace Name Mixin selector official a
Lek;a(Labj;Lgb;I)Z
intermediary method_9495
Lnet/minecraft/class_2247;method_9495(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;I)Z
named setBlockState
Lnet/minecraft/command/argument/BlockStateArgument;setBlockState(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;I)Z
-