Interface IBogeyBlock

All Superinterfaces:
IWrenchable
All Known Implementing Classes:
StandardBogeyBlock

public interface IBogeyBlock extends IWrenchable
  • Field Details

    • BOGEYS

      static final List<net.minecraft.resources.ResourceLocation> BOGEYS
  • Method Details

    • register

      static void register(net.minecraft.resources.ResourceLocation block)
    • getStickySurfaces

      EnumSet<net.minecraft.core.Direction> getStickySurfaces(net.minecraft.world.level.BlockGetter world, net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state)
    • getWheelPointSpacing

      double getWheelPointSpacing()
    • getWheelRadius

      double getWheelRadius()
    • allowsSingleBogeyCarriage

      boolean allowsSingleBogeyCarriage()
    • getConnectorAnchorOffset

      net.minecraft.world.phys.Vec3 getConnectorAnchorOffset()
    • render

      void render(@Nullable net.minecraft.world.level.block.state.BlockState state, float wheelAngle, com.mojang.blaze3d.vertex.PoseStack ms, float partialTicks, net.minecraft.client.renderer.MultiBufferSource buffers, int light, int overlay)
    • createInstance

      BogeyInstance createInstance(com.jozufozu.flywheel.api.MaterialManager materialManager, CarriageBogey bogey)
    • getBogeyUpDirection

      default net.minecraft.core.Direction getBogeyUpDirection()
    • isTrackAxisAlongFirstCoordinate

      boolean isTrackAxisAlongFirstCoordinate(net.minecraft.world.level.block.state.BlockState state)
    • getMatchingBogey

      @Nullable net.minecraft.world.level.block.state.BlockState getMatchingBogey(net.minecraft.core.Direction upDirection, boolean axisAlongFirst)
    • getRotatedBlockState

      default net.minecraft.world.level.block.state.BlockState getRotatedBlockState(net.minecraft.world.level.block.state.BlockState state, net.minecraft.core.Direction targetedFace)
      Specified by:
      getRotatedBlockState in interface IWrenchable