java.lang.Object
petrolpark.mc.petrolsparts.content.kinetics.assemblage.AssemblagePart
All Implemented Interfaces:
petrolpark.mc.library.compat.create.core.world.block.multiPart.CreateMultiPartBlock.ICreatePart, petrolpark.mc.library.core.world.block.multiPart.MultiPartBlock.IPart

public final class AssemblagePart extends Object implements petrolpark.mc.library.compat.create.core.world.block.multiPart.CreateMultiPartBlock.ICreatePart
  • Field Details

    • REMOVE_TOP_COG

      public static final UnaryOperator<net.minecraft.world.level.block.state.BlockState> REMOVE_TOP_COG
    • REMOVE_BOTTOM_COG

      public static final UnaryOperator<net.minecraft.world.level.block.state.BlockState> REMOVE_BOTTOM_COG
    • REMOVE_MIDDLE_COG

      public static final UnaryOperator<net.minecraft.world.level.block.state.BlockState> REMOVE_MIDDLE_COG
    • isShaft

      protected final boolean isShaft
    • onEnd

      protected final Predicate<net.minecraft.core.Direction> onEnd
    • 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
    • remover

      protected final UnaryOperator<net.minecraft.world.level.block.state.BlockState> remover
    • kineticPartGetter

    • item

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

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

  • Method Details

    • removeCog

      public static final UnaryOperator<net.minecraft.world.level.block.state.BlockState> removeCog(net.minecraft.core.Direction direction)
    • getCogPart

      public static final Function<AssemblageBlockEntity,AssemblageBlockEntity.AssemblageBlockEntityPart> getCogPart(net.minecraft.core.Direction direction)
    • isShaft

      public boolean isShaft()
    • isOnEnd

      public boolean isOnEnd(net.minecraft.core.Direction face)
    • 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
    • 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
    • itemRequirement

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

    • isEndCog

      public boolean isEndCog(AssemblageSet set, net.minecraft.core.Direction face)
    • isMiddleCog

      public boolean isMiddleCog(AssemblageSet set, net.minecraft.core.Direction.Axis axis)