public class ProjectileSourceSerializer extends Object
Constructor and Description |
---|
ProjectileSourceSerializer() |
Modifier and Type | Method and Description |
---|---|
static org.spongepowered.api.entity.projectile.source.ProjectileSource |
fromNbt(net.minecraft.world.World worldObj,
net.minecraft.nbt.NBTBase tag) |
static void |
readSourceFromNbt(net.minecraft.nbt.NBTTagCompound compound,
org.spongepowered.api.entity.projectile.Projectile projectile) |
static net.minecraft.nbt.NBTBase |
toNbt(org.spongepowered.api.entity.projectile.source.ProjectileSource projectileSource) |
static void |
writeSourceToNbt(net.minecraft.nbt.NBTTagCompound compound,
org.spongepowered.api.entity.projectile.source.ProjectileSource projectileSource,
net.minecraft.entity.Entity potentialEntity) |
public static net.minecraft.nbt.NBTBase toNbt(org.spongepowered.api.entity.projectile.source.ProjectileSource projectileSource)
public static org.spongepowered.api.entity.projectile.source.ProjectileSource fromNbt(net.minecraft.world.World worldObj, net.minecraft.nbt.NBTBase tag)
public static void writeSourceToNbt(net.minecraft.nbt.NBTTagCompound compound, org.spongepowered.api.entity.projectile.source.ProjectileSource projectileSource, net.minecraft.entity.Entity potentialEntity)
public static void readSourceFromNbt(net.minecraft.nbt.NBTTagCompound compound, org.spongepowered.api.entity.projectile.Projectile projectile)