Class NbtCompatWrapper_Minecraft_1_21_6
java.lang.Object
net.thomilist.dimensionalinventories.compatibility.minecraft.nbt.NbtCompatWrapper_Minecraft_1_21_6
- All Implemented Interfaces:
CompatWrapper, NbtCompatWrapper
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.nbt.CompoundTagfromEntity(net.minecraft.world.entity.Entity entity) net.minecraft.nbt.CompoundTagfromItemStack(net.minecraft.world.item.ItemStack itemStack) net.minecraft.nbt.CompoundTagfromStatusEffectInstance(net.minecraft.world.effect.MobEffectInstance statusEffectInstance) voidonServerStarted(net.minecraft.server.MinecraftServer server) net.minecraft.world.item.ItemStacktoItemStack(net.minecraft.nbt.CompoundTag nbtCompound) net.minecraft.world.effect.MobEffectInstancetoStatusEffectInstance(net.minecraft.nbt.CompoundTag nbtCompound)
-
Constructor Details
-
NbtCompatWrapper_Minecraft_1_21_6
public NbtCompatWrapper_Minecraft_1_21_6()
-
-
Method Details
-
onServerStarted
public void onServerStarted(net.minecraft.server.MinecraftServer server) - Specified by:
onServerStartedin interfaceCompatWrapper
-
toItemStack
public net.minecraft.world.item.ItemStack toItemStack(net.minecraft.nbt.CompoundTag nbtCompound) - Specified by:
toItemStackin interfaceNbtCompatWrapper
-
fromItemStack
public net.minecraft.nbt.CompoundTag fromItemStack(net.minecraft.world.item.ItemStack itemStack) - Specified by:
fromItemStackin interfaceNbtCompatWrapper
-
toStatusEffectInstance
public net.minecraft.world.effect.MobEffectInstance toStatusEffectInstance(net.minecraft.nbt.CompoundTag nbtCompound) - Specified by:
toStatusEffectInstancein interfaceNbtCompatWrapper
-
fromStatusEffectInstance
public net.minecraft.nbt.CompoundTag fromStatusEffectInstance(net.minecraft.world.effect.MobEffectInstance statusEffectInstance) - Specified by:
fromStatusEffectInstancein interfaceNbtCompatWrapper
-
fromEntity
public net.minecraft.nbt.CompoundTag fromEntity(net.minecraft.world.entity.Entity entity) - Specified by:
fromEntityin interfaceNbtCompatWrapper
-