Class GoldConversion

java.lang.Object
petrolpark.mc.library.shared.world.GoldConversion

public class GoldConversion extends Object
  • Field Details

    • goldIdRegex

      public static final Pattern goldIdRegex
  • Constructor Details

    • GoldConversion

      public GoldConversion()
  • Method Details

    • convertItemToGold

      public static final Conversion.ConversionResult<net.minecraft.world.item.Item> convertItemToGold(net.minecraft.world.level.Level level, net.minecraft.world.item.Item item, @Nullable net.minecraft.world.entity.player.Player player)
    • convertBlockToGold

      public static final Conversion.ConversionResult<net.minecraft.world.level.block.Block> convertBlockToGold(net.minecraft.world.level.Level level, net.minecraft.world.level.block.Block stack, @Nullable net.minecraft.world.entity.player.Player player)
    • convertItemStackToGold

      public static final Conversion.ConversionResult<net.minecraft.world.item.ItemStack> convertItemStackToGold(net.minecraft.world.level.Level level, net.minecraft.world.item.ItemStack stack, @Nullable net.minecraft.world.entity.player.Player player)
    • convertBlockStateToGold

      public static final Conversion.ConversionResult<BlockStateAndEntity> convertBlockStateToGold(net.minecraft.world.level.Level level, BlockStateAndEntity block, @Nullable net.minecraft.world.entity.player.Player player)
    • convertEntityToGold

      public static final Conversion.ConversionResult<net.minecraft.world.entity.Entity> convertEntityToGold(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity entity, @Nullable net.minecraft.world.entity.player.Player player)
    • streamAllConversions

      public static final Stream<net.minecraft.world.item.crafting.RecipeHolder<ExampleRecipe>> streamAllConversions(Collection<net.minecraft.world.item.ItemStack> ingredients, net.minecraft.world.level.Level level)
    • onTagsUpdated

      public static final void onTagsUpdated(net.neoforged.neoforge.event.TagsUpdatedEvent event)
    • onEntityTick

      public static final void onEntityTick(net.neoforged.neoforge.event.tick.EntityTickEvent.Post event)
    • convertColorToGold

      public static final net.minecraft.world.item.DyeColor convertColorToGold(@Nullable net.minecraft.world.level.Level level, net.minecraft.world.item.DyeColor color)
    • convertBannerToGold

      public static final net.minecraft.world.level.block.entity.BannerPatternLayers convertBannerToGold(net.minecraft.world.level.Level level, net.minecraft.world.level.block.entity.BannerPatternLayers layers)
    • convertTrimToGold

      public static final net.minecraft.world.item.armortrim.ArmorTrim convertTrimToGold(net.minecraft.world.level.Level level, net.minecraft.world.item.armortrim.ArmorTrim trim)
    • onRegisterGoldItemConversions

      public static final void onRegisterGoldItemConversions(GoldConversion.RegisterGoldItemConversionEvent event)
    • onRegisterGoldBlockConversions

      public static final void onRegisterGoldBlockConversions(GoldConversion.RegisterGoldBlockConversionEvent event)
    • onRegisterGoldItemStackConversions

      public static final void onRegisterGoldItemStackConversions(GoldConversion.RegisterGoldItemStackConversionEvent event)
    • onRegisterGoldBlockStateConversions

      public static final void onRegisterGoldBlockStateConversions(GoldConversion.RegisterGoldBlockStateConversionEvent event)
    • onRegisterGoldEntityConversions

      public static final void onRegisterGoldEntityConversions(GoldConversion.RegisterGoldEntityConversionEvent event)