Class BevelCogWheelBlockItem.BevelCogWheelBlockPlaceContext

java.lang.Object
net.minecraft.world.item.context.UseOnContext
net.minecraft.world.item.context.BlockPlaceContext
petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.BevelCogWheelBlockItem.BevelCogWheelBlockPlaceContext
Enclosing class:
BevelCogWheelBlockItem

public class BevelCogWheelBlockItem.BevelCogWheelBlockPlaceContext 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
    BevelCogWheelBlockPlaceContext(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

    • BevelCogWheelBlockPlaceContext

      public BevelCogWheelBlockPlaceContext(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 BevelCogWheelSet getSet()