Class ItemEntityAttributeUtil
java.lang.Object
alexiil.mc.lib.attributes.item.entity.ItemEntityAttributeUtil
- 
Method SummaryModifier and TypeMethodDescriptionstatic ItemInsertablecreateItemEntityDropper(net.minecraft.world.World world, double x, double y, double z)static ItemInsertablecreateItemEntityDropper(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)static ItemInsertablecreateItemEntityDropper(net.minecraft.world.World world, net.minecraft.util.math.Vec3d vec)static ItemInsertablecreateItemEntityScatterer(net.minecraft.world.World world, double x, double y, double z)static ItemInsertablecreateItemEntityScatterer(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)static ItemInsertablecreateItemEntityScatterer(net.minecraft.world.World world, net.minecraft.util.math.Vec3d vec)static ItemExtractablegetSpecialExtractable(net.minecraft.entity.Entity entity)
- 
Method Details- 
getSpecialExtractable- Returns:
- An ItemExtractablefor the given entity if it needs special handling for item pickup. (Such asItemEntityorProjectileEntity).
 
- 
createItemEntityDropperpublic static ItemInsertable createItemEntityDropper(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)- Returns:
- An ItemInsertablethat spawnsItemEntitys at the given position.
 
- 
createItemEntityDropperpublic static ItemInsertable createItemEntityDropper(net.minecraft.world.World world, net.minecraft.util.math.Vec3d vec)- Returns:
- An ItemInsertablethat spawnsItemEntitys at the given position.
 
- 
createItemEntityDropperpublic static ItemInsertable createItemEntityDropper(net.minecraft.world.World world, double x, double y, double z)- Returns:
- An ItemInsertablethat spawnsItemEntitys at the given position.
 
- 
createItemEntityScattererpublic static ItemInsertable createItemEntityScatterer(net.minecraft.world.World world, net.minecraft.util.math.BlockPos pos)- Returns:
- An ItemInsertablethat scattersItemEntitys at the given position usingItemScatterer.spawn(World, double, double, double, net.minecraft.item.ItemStack)
 
- 
createItemEntityScattererpublic static ItemInsertable createItemEntityScatterer(net.minecraft.world.World world, net.minecraft.util.math.Vec3d vec)- Returns:
- An ItemInsertablethat scattersItemEntitys at the given position usingItemScatterer.spawn(World, double, double, double, net.minecraft.item.ItemStack)
 
- 
createItemEntityScattererpublic static ItemInsertable createItemEntityScatterer(net.minecraft.world.World world, double x, double y, double z)- Returns:
- An ItemInsertablethat scattersItemEntitys at the given position usingItemScatterer.spawn(World, double, double, double, net.minecraft.item.ItemStack)
 
 
-