Class PlayerWishList

java.lang.Object
com.petrolpark.core.wish.AbstractWishList
com.petrolpark.core.wish.PlayerWishList

public class PlayerWishList extends AbstractWishList
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<Map<IAdvancedIngredient<? super net.minecraft.world.item.ItemStack>,Integer>> CODEC
    • SERIALIZER

      public static final net.neoforged.neoforge.attachment.IAttachmentSerializer<net.minecraft.nbt.Tag,PlayerWishList> SERIALIZER
    • player

      protected final net.minecraft.world.entity.player.Player player
    • wishes

      protected final it.unimi.dsi.fastutil.objects.Object2IntMap<IAdvancedIngredient<? super net.minecraft.world.item.ItemStack>> wishes
  • Constructor Details

    • PlayerWishList

      public PlayerWishList(net.neoforged.neoforge.attachment.IAttachmentHolder attachmentHolder)
    • PlayerWishList

      public PlayerWishList(PlayerWishList oldList, net.neoforged.neoforge.attachment.IAttachmentHolder attachmentHolder, net.minecraft.core.HolderLookup.Provider registries)
    • PlayerWishList

      public PlayerWishList(net.neoforged.neoforge.attachment.IAttachmentHolder attachmentHolder, Map<IAdvancedIngredient<? super net.minecraft.world.item.ItemStack>,Integer> wishes)
  • Method Details