Package net.minecraft.command.argument
Class BlockStateArgument
java.lang.Object
net.minecraft.command.argument.BlockStateArgument
- All Implemented Interfaces:
Predicate<CachedBlockPosition>
- Mappings:
Namespace Name named net/minecraft/command/argument/BlockStateArgument
intermediary net/minecraft/class_2247
official go
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBlockStateArgument
(BlockState state, Set<Property<?>> properties, @Nullable NbtCompound data) -
Method Summary
Modifier and TypeMethodDescriptionprivate BlockState
copyPropertiesTo
(BlockState state) private static <T extends Comparable<T>>
BlockStatecopyProperty
(BlockState to, BlockState from, Property<T> property) boolean
setBlockState
(ServerWorld world, BlockPos pos, int flags) boolean
test
(CachedBlockPosition cachedBlockPosition) boolean
test
(ServerWorld world, BlockPos pos)
-
Field Details
-
state
- Mappings:
Namespace Name Mixin selector named state
Lnet/minecraft/command/argument/BlockStateArgument;state:Lnet/minecraft/block/BlockState;
intermediary field_10632
Lnet/minecraft/class_2247;field_10632:Lnet/minecraft/class_2680;
official a
Lgo;a:Ldwy;
-
properties
- Mappings:
Namespace Name Mixin selector named properties
Lnet/minecraft/command/argument/BlockStateArgument;properties:Ljava/util/Set;
intermediary field_10631
Lnet/minecraft/class_2247;field_10631:Ljava/util/Set;
official b
Lgo;b:Ljava/util/Set;
-
data
- Mappings:
Namespace Name Mixin selector named data
Lnet/minecraft/command/argument/BlockStateArgument;data:Lnet/minecraft/nbt/NbtCompound;
intermediary field_10633
Lnet/minecraft/class_2247;field_10633:Lnet/minecraft/class_2487;
official c
Lgo;c:Ltq;
-
-
Constructor Details
-
BlockStateArgument
public BlockStateArgument(BlockState state, Set<Property<?>> properties, @Nullable @Nullable NbtCompound data) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/command/argument/BlockStateArgument;<init>(Lnet/minecraft/block/BlockState;Ljava/util/Set;Lnet/minecraft/nbt/NbtCompound;)V
intermediary <init>
Lnet/minecraft/class_2247;<init>(Lnet/minecraft/class_2680;Ljava/util/Set;Lnet/minecraft/class_2487;)V
official <init>
Lgo;<init>(Ldwy;Ljava/util/Set;Ltq;)V
-
-
Method Details
-
getBlockState
- Mappings:
Namespace Name Mixin selector named getBlockState
Lnet/minecraft/command/argument/BlockStateArgument;getBlockState()Lnet/minecraft/block/BlockState;
intermediary method_9494
Lnet/minecraft/class_2247;method_9494()Lnet/minecraft/class_2680;
official a
Lgo;a()Ldwy;
-
getProperties
- Mappings:
Namespace Name Mixin selector named getProperties
Lnet/minecraft/command/argument/BlockStateArgument;getProperties()Ljava/util/Set;
intermediary method_35759
Lnet/minecraft/class_2247;method_35759()Ljava/util/Set;
official b
Lgo;b()Ljava/util/Set;
-
test
- Specified by:
test
in interfacePredicate<CachedBlockPosition>
- Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/command/argument/BlockStateArgument;test(Lnet/minecraft/block/pattern/CachedBlockPosition;)Z
intermediary method_9493
Lnet/minecraft/class_2247;method_9493(Lnet/minecraft/class_2694;)Z
official a
Lgo;a(Ldxc;)Z
-
test
- Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/command/argument/BlockStateArgument;test(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_35758
Lnet/minecraft/class_2247;method_35758(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;)Z
official a
Lgo;a(Lard;Lji;)Z
-
setBlockState
- Mappings:
Namespace Name Mixin selector named setBlockState
Lnet/minecraft/command/argument/BlockStateArgument;setBlockState(Lnet/minecraft/server/world/ServerWorld;Lnet/minecraft/util/math/BlockPos;I)Z
intermediary method_9495
Lnet/minecraft/class_2247;method_9495(Lnet/minecraft/class_3218;Lnet/minecraft/class_2338;I)Z
official a
Lgo;a(Lard;Lji;I)Z
-
copyPropertiesTo
- Mappings:
Namespace Name Mixin selector named copyPropertiesTo
Lnet/minecraft/command/argument/BlockStateArgument;copyPropertiesTo(Lnet/minecraft/block/BlockState;)Lnet/minecraft/block/BlockState;
intermediary method_65237
Lnet/minecraft/class_2247;method_65237(Lnet/minecraft/class_2680;)Lnet/minecraft/class_2680;
official a
Lgo;a(Ldwy;)Ldwy;
-
copyProperty
private static <T extends Comparable<T>> BlockState copyProperty(BlockState to, BlockState from, Property<T> property) - Mappings:
Namespace Name Mixin selector named copyProperty
Lnet/minecraft/command/argument/BlockStateArgument;copyProperty(Lnet/minecraft/block/BlockState;Lnet/minecraft/block/BlockState;Lnet/minecraft/state/property/Property;)Lnet/minecraft/block/BlockState;
intermediary method_65238
Lnet/minecraft/class_2247;method_65238(Lnet/minecraft/class_2680;Lnet/minecraft/class_2680;Lnet/minecraft/class_2769;)Lnet/minecraft/class_2680;
official a
Lgo;a(Ldwy;Ldwy;Ldya;)Ldwy;
-