net.minecraft.advancements.critereon

public record SheepPredicate

implements EntitySubPredicate

dw
net.minecraft.advancements.critereon.SheepPredicate
net.minecraft.class_10168
net.minecraft.predicate.entity.SheepPredicate
net.minecraft.advancements.critereon.SheepPredicate

Field summary

Modifier and TypeField
private final Optional<Boolean>
c
sheared
comp_3128
sheared
private final Optional<DyeColor>
d
color
comp_3129
color
public static final com.mojang.serialization.MapCodec<SheepPredicate>
b
CODEC
field_54004
CODEC

Constructor summary

ModifierConstructor
public (Optional<Boolean> arg0, Optional<DyeColor> arg1)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<SheepPredicate>
a()
codec()
method_58152()
getCodec()
public boolean
a(bvk arg0, ash arg1, fby arg2)
matches(Entity arg0, ServerLevel arg1, Vec3 arg2)
method_22497(class_1297 arg0, class_3218 arg1, class_243 arg2)
test(Entity arg0, ServerWorld arg1, Vec3d arg2)
public static SheepPredicate
a(cwm arg0)
hasWool(DyeColor arg0)
method_63498(class_1767 arg0)
unsheared(DyeColor color)
public Optional<Boolean>
b()
sheared()
comp_3128()
sheared()
public Optional<DyeColor>
c()
color()
comp_3129()
color()