net.minecraft.advancements.critereon

public record SheepPredicate

implements EntitySubPredicate

dw
net.minecraft.advancements.critereon.SheepPredicate
net.minecraft.class_10168
net.minecraft.unmapped.C_xovrrnsh
net.minecraft.predicate.entity.SheepPredicate
net.minecraft.unmapped.C_xovrrnsh
net.minecraft.src.C_346187_
net.minecraft.advancements.critereon.SheepPredicate

Field summary

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

Constructor summary

ModifierConstructor
public (Optional<Boolean> sheared, Optional<DyeColor> color)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<SheepPredicate>
a()
codec()
method_58152()
m_vbxsicwk()
getCodec()
m_213836_()
public boolean
a(bvj arg0, ash arg1, fbx arg2)
matches(Entity arg0, ServerLevel arg1, Vec3 arg2)
method_22497(class_1297 arg0, class_3218 arg1, class_243 arg2)
m_oztqyaor(C_astfners arg0, C_bdwnwhiu arg1, C_vgpupfxx arg2)
test(Entity arg0, ServerWorld arg1, Vec3d arg2)
matches(Entity arg0, ServerWorld arg1, Vec3d arg2)
m_213868_(C_507_ p_366681_, C_12_ p_363108_, C_3046_ arg2)
public static SheepPredicate
a(cwl arg0)
hasWool(DyeColor arg0)
method_63498(class_1767 arg0)
m_pvwnknmb(C_arllgqae arg0)
unsheared(DyeColor color)
m_pvwnknmb(DyeColor value)
m_357516_(C_1353_ p_361420_)
public Optional<Boolean>
b()
sheared()
comp_3128()
m_daiawfqg()
sheared()
sheared()
f_347818_()
public Optional<DyeColor>
c()
color()
comp_3129()
m_fvwqismp()
color()
color()
f_346998_()