Class MultiAssembler<M extends IMulti<? super M>>

java.lang.Object
com.petrolpark.compat.create.core.block.multi.MultiAssembler<M>

public abstract class MultiAssembler<M extends IMulti<? super M>> extends Object
  • Constructor Details

    • MultiAssembler

      public MultiAssembler()
  • Method Details

    • canConvert

      public abstract MultiAssembler.Conversion canConvert(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, net.minecraft.core.Direction face)
      Parameters:
      state -
      level -
      pos -
      face -
      Returns:
      The MultiAssembler.Conversion it is possible to do to this Block to turn it into a Multi Part Block.
    • convert

      public abstract net.minecraft.world.level.block.state.BlockState convert(net.minecraft.world.level.block.state.BlockState state, net.minecraft.world.level.Level level, net.minecraft.core.BlockPos pos, MultiAssembler.Conversion conversion)
      Parameters:
      state -
      level -
      pos -
      conversion -
      Returns:
      The BlockState to convert the given BlockState into. This must have