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

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.MapCodec<ItemFacadeConfigClient.Color>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    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>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • 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 interface net.minecraft.client.color.item.ItemTintSource
    • type

      public com.mojang.serialization.MapCodec<? extends net.minecraft.client.color.item.ItemTintSource> type()
      Specified by:
      type in interface net.minecraft.client.color.item.ItemTintSource