java.lang.Object
petrolpark.mc.petrolsparts.content.kinetics.bevelCogWheel.diagonal.DiagonalBevelCogWheelPart
All Implemented Interfaces:
petrolpark.mc.library.compat.create.core.world.block.CreateMultiPartBlock.ICreatePart, petrolpark.mc.library.core.world.block.multiPart.MultiPartBlock.IPart
Direct Known Subclasses:
DiagonalBevelCogWheelPart.Cog, DiagonalBevelCogWheelPart.ShaftHalf

public abstract sealed class DiagonalBevelCogWheelPart extends Object implements petrolpark.mc.library.compat.create.core.world.block.CreateMultiPartBlock.ICreatePart permits DiagonalBevelCogWheelPart.Cog, DiagonalBevelCogWheelPart.ShaftHalf
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     
    static class 
     
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final net.minecraft.world.level.ItemLike
     
    protected final Supplier<com.simibubi.create.content.schematics.requirement.ItemRequirement>
     
    protected final net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable>
     
    protected final net.minecraft.world.phys.shapes.VoxelShape
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    DiagonalBevelCogWheelPart(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> loot, net.minecraft.world.level.ItemLike item)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    net.minecraft.world.item.ItemStack
    cloneItemStack(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player)
     
    com.simibubi.create.content.schematics.requirement.ItemRequirement
     
    net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable>
     
    net.minecraft.world.phys.shapes.VoxelShape
     

    Methods inherited from class java.lang.Object

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

    • shape

      protected final net.minecraft.world.phys.shapes.VoxelShape shape
    • loot

      protected final net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> loot
    • item

      protected final net.minecraft.world.level.ItemLike item
    • itemRequirement

      protected final Supplier<com.simibubi.create.content.schematics.requirement.ItemRequirement> itemRequirement
  • Constructor Details

    • DiagonalBevelCogWheelPart

      public DiagonalBevelCogWheelPart(net.minecraft.world.phys.shapes.VoxelShape shape, net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> loot, net.minecraft.world.level.ItemLike item)
  • Method Details

    • shape

      public net.minecraft.world.phys.shapes.VoxelShape shape()
      Specified by:
      shape in interface petrolpark.mc.library.core.world.block.multiPart.MultiPartBlock.IPart
    • loot

      public net.minecraft.resources.ResourceKey<net.minecraft.world.level.storage.loot.LootTable> loot()
      Specified by:
      loot in interface petrolpark.mc.library.core.world.block.multiPart.MultiPartBlock.IPart
    • cloneItemStack

      public net.minecraft.world.item.ItemStack cloneItemStack(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.LevelReader level, net.minecraft.core.BlockPos pos, net.minecraft.world.entity.player.Player player)
      Specified by:
      cloneItemStack in interface petrolpark.mc.library.core.world.block.multiPart.MultiPartBlock.IPart
    • itemRequirement

      public com.simibubi.create.content.schematics.requirement.ItemRequirement itemRequirement()
      Specified by:
      itemRequirement in interface petrolpark.mc.library.compat.create.core.world.block.CreateMultiPartBlock.ICreatePart