类 RangeSelectItemModel
java.lang.Object
net.minecraft.client.renderer.item.RangeSelectItemModel
- 所有已实现的接口:
ItemModel
-
嵌套类概要
嵌套类修饰符和类型类说明static final record
static final record
从接口继承的嵌套类/接口 net.minecraft.client.renderer.item.ItemModel
ItemModel.BakingContext
-
字段概要
字段修饰符和类型字段说明private final ItemModel
private static final int
private final ItemModel[]
private final RangeSelectItemModelProperty
private final float
private final float[]
-
构造器概要
构造器构造器说明RangeSelectItemModel
(RangeSelectItemModelProperty p_378527_, float p_378148_, float[] p_377531_, ItemModel[] p_375411_, ItemModel p_378323_) -
方法概要
修饰符和类型方法说明private static int
lastIndexLessOrEqual
(float[] p_378298_, float p_378394_) void
update
(ItemStackRenderState p_376727_, ItemStack p_377507_, ItemModelResolver p_377370_, ItemDisplayContext p_377791_, ClientLevel p_377343_, LivingEntity p_377066_, int p_376528_)
-
字段详细资料
-
LINEAR_SEARCH_THRESHOLD
private static final int LINEAR_SEARCH_THRESHOLD- 另请参阅:
-
property
-
scale
private final float scale -
thresholds
private final float[] thresholds -
models
-
fallback
-
-
构造器详细资料
-
RangeSelectItemModel
RangeSelectItemModel(RangeSelectItemModelProperty p_378527_, float p_378148_, float[] p_377531_, ItemModel[] p_375411_, ItemModel p_378323_)
-
-
方法详细资料
-
lastIndexLessOrEqual
private static int lastIndexLessOrEqual(float[] p_378298_, float p_378394_) -
update
public void update(ItemStackRenderState p_376727_, ItemStack p_377507_, ItemModelResolver p_377370_, ItemDisplayContext p_377791_, @Nullable ClientLevel p_377343_, @Nullable LivingEntity p_377066_, int p_376528_)
-