net.minecraft.advancements.critereon

public record SheepPredicate

implements EntitySubPredicate

dx
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(bum arg0, ard arg1, fbb 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(cvn 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()