public class RuleEntry
extends java.lang.Object
コンストラクタと説明 |
---|
RuleEntry(RuleTest inputPredicate,
RuleTest locationPredicate,
BlockState outputState) |
RuleEntry(RuleTest inputPredicate,
RuleTest locationPredicate,
BlockState outputState,
CompoundNBT outputNbt) |
修飾子とタイプ | メソッドと説明 |
---|---|
static <T> RuleEntry |
deserialize(com.mojang.datafixers.Dynamic<T> p_215213_0_) |
CompoundNBT |
getOutputNbt() |
BlockState |
getOutputState() |
<T> com.mojang.datafixers.Dynamic<T> |
serialize(com.mojang.datafixers.types.DynamicOps<T> ops) |
boolean |
test(BlockState stateA,
BlockState stateB,
java.util.Random rand) |
public RuleEntry(RuleTest inputPredicate, RuleTest locationPredicate, BlockState outputState)
public RuleEntry(RuleTest inputPredicate, RuleTest locationPredicate, BlockState outputState, @Nullable CompoundNBT outputNbt)
public boolean test(BlockState stateA, BlockState stateB, java.util.Random rand)
public BlockState getOutputState()
@Nullable public CompoundNBT getOutputNbt()
public <T> com.mojang.datafixers.Dynamic<T> serialize(com.mojang.datafixers.types.DynamicOps<T> ops)
public static <T> RuleEntry deserialize(com.mojang.datafixers.Dynamic<T> p_215213_0_)