Class HoneyBottleMixin

java.lang.Object
com.beansgalaxy.backpacks.mixin.common.buckets.HoneyBottleMixin
All Implemented Interfaces:
BucketLikeAccess, BucketsAccess

public class HoneyBottleMixin extends Object implements BucketLikeAccess
  • Constructor Details

    • HoneyBottleMixin

      public HoneyBottleMixin()
  • Method Details

    • getBlockState

      public Optional<net.minecraft.world.level.block.state.BlockState> getBlockState()
      Specified by:
      getBlockState in interface BucketsAccess
    • getPickupSound

      public Optional<net.minecraft.sounds.SoundEvent> getPickupSound()
      Specified by:
      getPickupSound in interface BucketsAccess
    • defaultPlaceSound

      public net.minecraft.sounds.SoundEvent defaultPlaceSound()
      Specified by:
      defaultPlaceSound in interface BucketsAccess
    • 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:
      onPickup in interface BucketLikeAccess
    • uniquePlaceSound

      public Optional<net.minecraft.sounds.SoundEvent> uniquePlaceSound()
      Specified by:
      uniquePlaceSound in interface BucketLikeAccess
    • scale

      public int scale()
      Specified by:
      scale in interface BucketsAccess
    • getEmptyInstance

      @NotNull public @NotNull net.minecraft.world.item.Item getEmptyInstance()
      Specified by:
      getEmptyInstance in interface BucketsAccess
    • getFilledInstance

      public net.minecraft.world.item.Item getFilledInstance()
      Specified by:
      getFilledInstance in interface BucketLikeAccess
    • fullScale

      public int fullScale()
      Specified by:
      fullScale in interface BucketsAccess