Class HoneyBottleMixin
java.lang.Object
com.beansgalaxy.backpacks.mixin.common.buckets.HoneyBottleMixin
- All Implemented Interfaces:
BucketLikeAccess,BucketsAccess
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.sounds.SoundEventintOptional<net.minecraft.world.level.block.state.BlockState>@NotNull net.minecraft.world.item.Itemnet.minecraft.world.item.ItemOptional<net.minecraft.sounds.SoundEvent>booleanonPickup(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.entity.player.Player player) intscale()Optional<net.minecraft.sounds.SoundEvent>Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.beansgalaxy.backpacks.access.BucketLikeAccess
getPlaceSound
-
Constructor Details
-
HoneyBottleMixin
public HoneyBottleMixin()
-
-
Method Details
-
getBlockState
- Specified by:
getBlockStatein interfaceBucketsAccess
-
getPickupSound
- Specified by:
getPickupSoundin interfaceBucketsAccess
-
defaultPlaceSound
public net.minecraft.sounds.SoundEvent defaultPlaceSound()- Specified by:
defaultPlaceSoundin interfaceBucketsAccess
-
onPickup
public boolean onPickup(net.minecraft.world.level.Level level, net.minecraft.core.BlockPos blockPos, net.minecraft.world.level.block.state.BlockState blockState, net.minecraft.world.entity.player.Player player) - Specified by:
onPickupin interfaceBucketLikeAccess
-
uniquePlaceSound
- Specified by:
uniquePlaceSoundin interfaceBucketLikeAccess
-
scale
public int scale()- Specified by:
scalein interfaceBucketsAccess
-
getEmptyInstance
@NotNull public @NotNull net.minecraft.world.item.Item getEmptyInstance()- Specified by:
getEmptyInstancein interfaceBucketsAccess
-
getFilledInstance
public net.minecraft.world.item.Item getFilledInstance()- Specified by:
getFilledInstancein interfaceBucketLikeAccess
-
fullScale
public int fullScale()- Specified by:
fullScalein interfaceBucketsAccess
-