net.minecraft.world.item.component

public record CustomModelData

dbb
net.minecraft.world.item.component.CustomModelData
net.minecraft.class_9280
net.minecraft.component.type.CustomModelDataComponent

Field summary

Modifier and TypeField
private final List<Float>
d
floats
comp_3354
floats
private final List<Boolean>
e
flags
comp_3355
flags
private final List<String>
f
strings
comp_3356
strings
private final List<Integer>
g
colors
comp_3357
colors
public static final CustomModelData
a
EMPTY
field_55212
DEFAULT
public static final com.mojang.serialization.Codec<CustomModelData>
b
CODEC
field_49308
CODEC
public static final StreamCodec<io.netty.buffer.ByteBuf, CustomModelData>
c
STREAM_CODEC
field_49309
PACKET_CODEC

Constructor summary

ModifierConstructor
public (List<Float> arg0, List<Boolean> arg1, List<String> arg2, List<Integer> arg3)

Method summary

Modifier and TypeMethod
private static <T> T
a(List<T> arg0, int arg1)
getSafe(List<T> arg0, int arg1)
method_65364(List<T> arg0, int arg1)
getValue(List<T> values, int index)
public Float
a(int arg0)
getFloat(int arg0)
method_65362(int arg0)
getFloat(int index)
public Boolean
b(int arg0)
getBoolean(int arg0)
method_65365(int arg0)
getFlag(int index)
public String
c(int arg0)
getString(int arg0)
method_65366(int arg0)
getString(int index)
public Integer
d(int arg0)
getColor(int arg0)
method_65367(int arg0)
getColor(int index)
public List<Float>
a()
floats()
comp_3354()
floats()
public List<Boolean>
b()
flags()
comp_3355()
flags()
public List<String>
c()
strings()
comp_3356()
strings()
public List<Integer>
d()
colors()
comp_3357()
colors()