Class GoldConversion
java.lang.Object
petrolpark.mc.library.shared.world.GoldConversion
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic classstatic classstatic classstatic classstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic final net.minecraft.world.level.block.entity.BannerPatternLayersconvertBannerToGold(net.minecraft.world.level.Level level, net.minecraft.world.level.block.entity.BannerPatternLayers layers) static final Conversion.ConversionResult<BlockStateAndEntity> convertBlockStateToGold(net.minecraft.world.level.Level level, BlockStateAndEntity block, net.minecraft.world.entity.player.Player player) static final Conversion.ConversionResult<net.minecraft.world.level.block.Block> convertBlockToGold(net.minecraft.world.level.Level level, net.minecraft.world.level.block.Block stack, net.minecraft.world.entity.player.Player player) static final net.minecraft.world.item.DyeColorconvertColorToGold(net.minecraft.world.level.Level level, net.minecraft.world.item.DyeColor color) static final Conversion.ConversionResult<net.minecraft.world.entity.Entity> convertEntityToGold(net.minecraft.world.level.Level level, net.minecraft.world.entity.Entity entity, net.minecraft.world.entity.player.Player player) static final Conversion.ConversionResult<net.minecraft.world.item.ItemStack> convertItemStackToGold(net.minecraft.world.level.Level level, net.minecraft.world.item.ItemStack stack, net.minecraft.world.entity.player.Player player) static final Conversion.ConversionResult<net.minecraft.world.item.Item> convertItemToGold(net.minecraft.world.level.Level level, net.minecraft.world.item.Item item, net.minecraft.world.entity.player.Player player) static final net.minecraft.world.item.armortrim.ArmorTrimconvertTrimToGold(net.minecraft.world.level.Level level, net.minecraft.world.item.armortrim.ArmorTrim trim) static final voidonEntityTick(net.neoforged.neoforge.event.tick.EntityTickEvent.Post event) static final voidstatic final voidstatic final voidstatic final voidstatic final voidstatic final voidonTagsUpdated(net.neoforged.neoforge.event.TagsUpdatedEvent event) static final Stream<net.minecraft.world.item.crafting.RecipeHolder<ExampleRecipe>> streamAllConversions(Collection<net.minecraft.world.item.ItemStack> ingredients, net.minecraft.world.level.Level level)
-
Field Details
-
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)
-