net.minecraft.world.entity.animal

public record PigVariant

implements PriorityProvider<SpawnContext, SpawnCondition>

cjg
net.minecraft.world.entity.animal.PigVariant
net.minecraft.class_10586
net.minecraft.entity.passive.PigVariant

Field summary

Modifier and TypeField
private final ModelAndTexture<PigVariant$ModelType>
e
modelAndTexture
comp_3562
modelAndTexture
private final SpawnPrioritySelectors
f
spawnConditions
comp_3563
spawnConditions
public static final com.mojang.serialization.Codec<PigVariant>
a
DIRECT_CODEC
field_55680
CODEC
public static final com.mojang.serialization.Codec<PigVariant>
b
NETWORK_CODEC
field_56270
field_56270
public static final com.mojang.serialization.Codec<Holder<PigVariant>>
c
CODEC
field_55682
ENTRY_CODEC
public static final StreamCodec<RegistryFriendlyByteBuf, Holder<PigVariant>>
d
STREAM_CODEC
field_55683
ENTRY_PACKET_CODEC

Constructor summary

ModifierConstructor
private (ModelAndTexture<PigVariant$ModelType> arg0)
public (ModelAndTexture<PigVariant$ModelType> arg0, SpawnPrioritySelectors arg1)

Method summary

Modifier and TypeMethod
public List<PriorityProvider$Selector<SpawnContext, SpawnCondition>>
a()
selectors()
method_67126()
method_67126()
public ModelAndTexture<PigVariant$ModelType>
b()
modelAndTexture()
comp_3562()
modelAndTexture()
public SpawnPrioritySelectors
c()
spawnConditions()
comp_3563()
spawnConditions()