Class AssemblageBlockItem.AssemblageBlockPlaceContext

java.lang.Object
net.minecraft.world.item.context.UseOnContext
net.minecraft.world.item.context.BlockPlaceContext
petrolpark.mc.petrolsparts.content.kinetics.assemblage.AssemblageBlockItem.AssemblageBlockPlaceContext
Enclosing class:
AssemblageBlockItem

public class AssemblageBlockItem.AssemblageBlockPlaceContext extends net.minecraft.world.item.context.BlockPlaceContext
  • Field Summary

    Fields inherited from class net.minecraft.world.item.context.BlockPlaceContext

    replaceClicked
  • Constructor Summary

    Constructors
    Constructor
    Description
    AssemblageBlockPlaceContext(net.minecraft.world.item.context.UseOnContext context)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    void
     
     

    Methods inherited from class net.minecraft.world.item.context.BlockPlaceContext

    at, getClickedPos, getNearestLookingDirection, getNearestLookingDirections, getNearestLookingVerticalDirection, replacingClickedOnBlock

    Methods inherited from class net.minecraft.world.item.context.UseOnContext

    getClickedFace, getClickLocation, getHand, getHitResult, getHorizontalDirection, getItemInHand, getLevel, getPlayer, getRotation, isInside, isSecondaryUseActive

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AssemblageBlockPlaceContext

      public AssemblageBlockPlaceContext(net.minecraft.world.item.context.UseOnContext context)
  • Method Details

    • dontReplaceClicked

      public void dontReplaceClicked()
    • canPlace

      public boolean canPlace()
      Overrides:
      canPlace in class net.minecraft.world.item.context.BlockPlaceContext
    • getSet

      public AssemblageSet getSet()