Class CogOnDiagonalBevelPlacementHelper

java.lang.Object
petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.diagonal.CogOnDiagonalBevelPlacementHelper
All Implemented Interfaces:
net.createmod.catnip.placement.IPlacementHelper

public class CogOnDiagonalBevelPlacementHelper extends Object implements net.createmod.catnip.placement.IPlacementHelper
  • Field Summary

    Fields inherited from interface net.createmod.catnip.placement.IPlacementHelper

    ID
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Predicate<net.minecraft.world.item.ItemStack>
     
    net.createmod.catnip.placement.PlacementOffset
    getOffset(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.BlockHitResult ray)
    Deprecated.
    net.createmod.catnip.placement.PlacementOffset
    getOffset(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.BlockHitResult ray, net.minecraft.world.item.ItemStack stack)
     
    static final net.createmod.catnip.placement.PlacementOffset
    getOffset(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.BlockHitResult ray, net.minecraft.world.level.block.state.BlockState stateToPlace)
     
    Predicate<net.minecraft.world.level.block.state.BlockState>
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface net.createmod.catnip.placement.IPlacementHelper

    displayGhost, matchesItem, matchesState, renderAt
  • Constructor Details

    • CogOnDiagonalBevelPlacementHelper

      public CogOnDiagonalBevelPlacementHelper()
  • Method Details

    • getItemPredicate

      public Predicate<net.minecraft.world.item.ItemStack> getItemPredicate()
      Specified by:
      getItemPredicate in interface net.createmod.catnip.placement.IPlacementHelper
    • getStatePredicate

      public Predicate<net.minecraft.world.level.block.state.BlockState> getStatePredicate()
      Specified by:
      getStatePredicate in interface net.createmod.catnip.placement.IPlacementHelper
    • getOffset

      @Deprecated public net.createmod.catnip.placement.PlacementOffset getOffset(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.BlockHitResult ray)
      Deprecated.
      Specified by:
      getOffset in interface net.createmod.catnip.placement.IPlacementHelper
    • getOffset

      public net.createmod.catnip.placement.PlacementOffset getOffset(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.BlockHitResult ray, net.minecraft.world.item.ItemStack stack)
      Specified by:
      getOffset in interface net.createmod.catnip.placement.IPlacementHelper
    • getOffset

      public static final net.createmod.catnip.placement.PlacementOffset getOffset(net.minecraft.world.entity.player.Player player, net.minecraft.world.level.Level world, net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.BlockPos pos, net.minecraft.world.phys.BlockHitResult ray, net.minecraft.world.level.block.state.BlockState stateToPlace)