Class ItemFacadeConfigClient.Color
java.lang.Object
org.cyclops.integrateddynamics.item.ItemFacadeConfigClient.Color
- All Implemented Interfaces:
net.minecraft.client.color.item.ItemTintSource
- Enclosing class:
ItemFacadeConfigClient
public static class ItemFacadeConfigClient.Color
extends Object
implements net.minecraft.client.color.item.ItemTintSource
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<ItemFacadeConfigClient.Color> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
calculate
(net.minecraft.world.item.ItemStack itemStack, @Nullable net.minecraft.client.multiplayer.ClientLevel level, @Nullable net.minecraft.world.entity.LivingEntity entity) com.mojang.serialization.MapCodec
<? extends net.minecraft.client.color.item.ItemTintSource> type()
-
Field Details
-
MAP_CODEC
-
-
Constructor Details
-
Color
public Color()
-
-
Method Details
-
calculate
public int calculate(net.minecraft.world.item.ItemStack itemStack, @Nullable @Nullable net.minecraft.client.multiplayer.ClientLevel level, @Nullable @Nullable net.minecraft.world.entity.LivingEntity entity) - Specified by:
calculate
in interfacenet.minecraft.client.color.item.ItemTintSource
-
type
public com.mojang.serialization.MapCodec<? extends net.minecraft.client.color.item.ItemTintSource> type()- Specified by:
type
in interfacenet.minecraft.client.color.item.ItemTintSource
-