Class ContraptionMixin

java.lang.Object
com.petrolpark.mixin.compat.create.ContraptionMixin

public class ContraptionMixin extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    inAddBlocksToWorld(net.minecraft.world.level.Level world, com.simibubi.create.content.contraptions.StructureTransform transform, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci, boolean[] var3, int var4, int var5, boolean nonBrittles, Iterator<net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo> var7, net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo block, net.minecraft.core.BlockPos targetPos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState blockState, boolean verticalRotation, net.minecraft.world.level.block.entity.BlockEntity blockEntity)
    Ensure directional Item Stacks on belts have the right orientation when a Contraption is converted back into blocks.

    Methods inherited from class java.lang.Object

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

    • ContraptionMixin

      public ContraptionMixin()
  • Method Details

    • inAddBlocksToWorld

      public void inAddBlocksToWorld(net.minecraft.world.level.Level world, com.simibubi.create.content.contraptions.StructureTransform transform, org.spongepowered.asm.mixin.injection.callback.CallbackInfo ci, boolean[] var3, int var4, int var5, boolean nonBrittles, Iterator<net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo> var7, net.minecraft.world.level.levelgen.structure.templatesystem.StructureTemplate.StructureBlockInfo block, net.minecraft.core.BlockPos targetPos, net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.block.state.BlockState blockState, boolean verticalRotation, net.minecraft.world.level.block.entity.BlockEntity blockEntity)
      Ensure directional Item Stacks on belts have the right orientation when a Contraption is converted back into blocks.