类 ConditionalItemModel
java.lang.Object
net.minecraft.client.renderer.item.ConditionalItemModel
- 所有已实现的接口:
ItemModel
-
嵌套类概要
嵌套类从接口继承的嵌套类/接口 net.minecraft.client.renderer.item.ItemModel
ItemModel.BakingContext
-
字段概要
字段 -
构造器概要
构造器构造器说明ConditionalItemModel
(ConditionalItemModelProperty p_376982_, ItemModel p_377974_, ItemModel p_378783_) -
方法概要
修饰符和类型方法说明void
update
(ItemStackRenderState p_376429_, ItemStack p_375999_, ItemModelResolver p_375782_, ItemDisplayContext p_376170_, ClientLevel p_378740_, LivingEntity p_376673_, int p_376970_)
-
字段详细资料
-
property
-
onTrue
-
onFalse
-
-
构造器详细资料
-
ConditionalItemModel
public ConditionalItemModel(ConditionalItemModelProperty p_376982_, ItemModel p_377974_, ItemModel p_378783_)
-
-
方法详细资料
-
update
public void update(ItemStackRenderState p_376429_, ItemStack p_375999_, ItemModelResolver p_375782_, ItemDisplayContext p_376170_, @Nullable ClientLevel p_378740_, @Nullable LivingEntity p_376673_, int p_376970_)
-