Interface KineticBehaviourExtension

All Superinterfaces:
BehaviourExtension

public interface KineticBehaviourExtension extends BehaviourExtension
Allows behaviours to add additional propagation locations to a kinetic block entity.
  • Method Summary

    Modifier and Type
    Method
    Description
    default List<net.minecraft.core.BlockPos>
    addExtraPropagationLocations(com.simibubi.create.content.kinetics.base.IRotate block, net.minecraft.world.level.block.state.BlockState state, List<net.minecraft.core.BlockPos> neighbours)
    Allows a behaviour to add to (or modify) the neighbors list in kinetic propagation
    default void
     
    default void
     
    default float
    forcePropagateRotationTo(com.simibubi.create.content.kinetics.base.KineticBlockEntity target, net.minecraft.world.level.block.state.BlockState stateFrom, net.minecraft.world.level.block.state.BlockState stateTo, net.minecraft.core.BlockPos diff, boolean connectedViaAxes, boolean connectedViaCogs)
    Provides a high level propagation value for a kinetic propagation (i.e.
    net.minecraft.world.level.block.entity.BlockEntity
     
    default float
    propagateRotationTo(com.simibubi.create.content.kinetics.base.KineticBlockEntity target, net.minecraft.world.level.block.state.BlockState stateFrom, net.minecraft.world.level.block.state.BlockState stateTo, net.minecraft.core.BlockPos diff, boolean connectedViaAxes, boolean connectedViaCogs)
    Provides a base level propagation value for a kinetic propagation (i.e.
    default void