类 EternalPotatoProvider

java.lang.Object
top.r3944realms.superleadrope.content.capability.provider.EternalPotatoProvider
所有已实现的接口:
net.minecraftforge.common.capabilities.ICapabilityProvider, net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>, net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>

public class EternalPotatoProvider extends Object implements net.minecraftforge.common.capabilities.ICapabilitySerializable<net.minecraft.nbt.CompoundTag>
The type Eternal potato provider.
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final net.minecraft.resources.ResourceLocation
    The constant ETERNAL_POTATO_DATA_REL.
  • 构造器概要

    构造器
    构造器
    说明
    EternalPotatoProvider(net.minecraft.world.item.ItemStack stack)
    Instantiates a new Eternal potato provider.
  • 方法概要

    修饰符和类型
    方法
    说明
    void
    deserializeNBT(net.minecraft.nbt.CompoundTag compoundTag)
     
    <T> @NotNull net.minecraftforge.common.util.LazyOptional<T>
    getCapability(@NotNull net.minecraftforge.common.capabilities.Capability<T> cap, @Nullable net.minecraft.core.Direction side)
     
    net.minecraft.nbt.CompoundTag
     

    从类继承的方法 java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    从接口继承的方法 net.minecraftforge.common.capabilities.ICapabilityProvider

    getCapability
  • 字段详细资料

    • ETERNAL_POTATO_DATA_REL

      public static final net.minecraft.resources.ResourceLocation ETERNAL_POTATO_DATA_REL
      The constant ETERNAL_POTATO_DATA_REL.
  • 构造器详细资料

    • EternalPotatoProvider

      public EternalPotatoProvider(net.minecraft.world.item.ItemStack stack)
      Instantiates a new Eternal potato provider.
      参数:
      stack - the stack
  • 方法详细资料

    • getCapability

      @NotNull public <T> @NotNull net.minecraftforge.common.util.LazyOptional<T> getCapability(@NotNull @NotNull net.minecraftforge.common.capabilities.Capability<T> cap, @Nullable @Nullable net.minecraft.core.Direction side)
      指定者:
      getCapability 在接口中 net.minecraftforge.common.capabilities.ICapabilityProvider
    • serializeNBT

      public net.minecraft.nbt.CompoundTag serializeNBT()
      指定者:
      serializeNBT 在接口中 net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>
    • deserializeNBT

      public void deserializeNBT(net.minecraft.nbt.CompoundTag compoundTag)
      指定者:
      deserializeNBT 在接口中 net.minecraftforge.common.util.INBTSerializable<net.minecraft.nbt.CompoundTag>