Class PlaceBlockConstructorStrategy

java.lang.Object
com.refinedmods.refinedstorage.common.constructordestructor.PlaceBlockConstructorStrategy
All Implemented Interfaces:
ConstructorStrategy

public class PlaceBlockConstructorStrategy extends Object
  • Field Details

    • level

      protected final net.minecraft.server.level.ServerLevel level
    • pos

      protected final net.minecraft.core.BlockPos pos
    • direction

      protected final net.minecraft.core.Direction direction
  • Constructor Details

    • PlaceBlockConstructorStrategy

      public PlaceBlockConstructorStrategy(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction direction)
  • Method Details

    • apply

      protected boolean apply(net.minecraft.world.item.ItemStack itemStack, Actor actor, net.minecraft.world.entity.player.Player actingPlayer)
    • getTransferAmount

      protected long getTransferAmount()
    • apply

      public final boolean apply(ResourceKey resource, Actor actor, net.minecraft.world.entity.player.Player player, Network network)
      Specified by:
      apply in interface ConstructorStrategy
    • getDispensePositionX

      protected double getDispensePositionX()
    • getDispensePositionY

      protected double getDispensePositionY()
    • getDispensePositionZ

      protected double getDispensePositionZ()