public abstract class MovingInteractionBehaviour
extends java.lang.Object
| Constructor and Description |
|---|
MovingInteractionBehaviour() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
handlePlayerInteraction(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand activeHand,
net.minecraft.util.math.BlockPos localPos,
AbstractContraptionEntity contraptionEntity) |
protected void |
invalidate(Contraption contraption) |
protected void |
setContraptionActorData(AbstractContraptionEntity contraptionEntity,
int index,
net.minecraft.world.gen.feature.template.Template.BlockInfo info,
MovementContext ctx) |
protected void |
setContraptionBlockData(AbstractContraptionEntity contraptionEntity,
net.minecraft.util.math.BlockPos pos,
net.minecraft.world.gen.feature.template.Template.BlockInfo info) |
protected void setContraptionActorData(AbstractContraptionEntity contraptionEntity, int index, net.minecraft.world.gen.feature.template.Template.BlockInfo info, MovementContext ctx)
protected void setContraptionBlockData(AbstractContraptionEntity contraptionEntity, net.minecraft.util.math.BlockPos pos, net.minecraft.world.gen.feature.template.Template.BlockInfo info)
protected void invalidate(Contraption contraption)
public boolean handlePlayerInteraction(net.minecraft.entity.player.PlayerEntity player,
net.minecraft.util.Hand activeHand,
net.minecraft.util.math.BlockPos localPos,
AbstractContraptionEntity contraptionEntity)