Class Conversion.ColorEntityConversion

java.lang.Object
com.petrolpark.util.Conversion.ColorEntityConversion
All Implemented Interfaces:
Conversion<net.minecraft.world.entity.Entity>
Enclosing interface:
Conversion<T>

public abstract static class Conversion.ColorEntityConversion extends Object implements Conversion<net.minecraft.world.entity.Entity>
  • Constructor Details

    • ColorEntityConversion

      public ColorEntityConversion()
  • Method Details

    • convert

      public abstract net.minecraft.world.item.DyeColor convert(net.minecraft.world.entity.Entity entity, net.minecraft.world.item.DyeColor color)
    • convert

      public Conversion.ConversionResult<net.minecraft.world.entity.Entity> convert(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity object, @Nullable net.minecraft.world.entity.player.Player player)
      Specified by:
      convert in interface Conversion<net.minecraft.world.entity.Entity>