Interface Bucketable
- All Known Implementing Classes:
AbstractFish
,AbstractSchoolingFish
,Axolotl
,Cod
,Pufferfish
,Salmon
,Tadpole
,TropicalFish
public interface Bucketable
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends LivingEntity & Bucketable>
Optional<InteractionResult>bucketMobPickup
(Player p_148829_, InteractionHand p_148830_, T p_148831_) boolean
static void
loadDefaultDataFromBucketTag
(Mob p_148826_, CompoundTag p_148827_) Deprecated.void
loadFromBucketTag
(CompoundTag p_148832_) static void
saveDefaultDataToBucketTag
(Mob p_148823_, ItemStack p_148824_) Deprecated.void
saveToBucketTag
(ItemStack p_148833_) void
setFromBucket
(boolean p_148834_)
-
Method Details
-
fromBucket
boolean fromBucket() -
setFromBucket
void setFromBucket(boolean p_148834_) -
saveToBucketTag
-
loadFromBucketTag
-
getBucketItemStack
ItemStack getBucketItemStack() -
getPickupSound
SoundEvent getPickupSound() -
saveDefaultDataToBucketTag
Deprecated. -
loadDefaultDataFromBucketTag
Deprecated. -
bucketMobPickup
static <T extends LivingEntity & Bucketable> Optional<InteractionResult> bucketMobPickup(Player p_148829_, InteractionHand p_148830_, T p_148831_)
-