Class RetroReactors

java.lang.Object
net.darkhax.retroreactors.common.RetroReactors

public class RetroReactors extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.mojang.serialization.Codec<net.minecraft.world.level.block.state.BlockState>
    A codec for BlockState that is based on the vanilla one, but uses lowercase property names to remain consistent with the rest of the schema.
    static final String
     
    static final net.minecraft.network.chat.Component
     
    static final net.minecraft.network.chat.Component
     
    static final net.minecraft.network.chat.Component
     
    static final net.minecraft.network.chat.Component
     
    static final net.minecraft.network.chat.Component
     
    static final net.minecraft.network.chat.Component
     
    static final net.minecraft.network.chat.Component
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static net.minecraft.resources.Identifier
    id(String path)
     
    static boolean
    isValidReactor(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos)
     
    static List<net.minecraft.server.level.ServerPlayer>
    locatePlayers(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, int radius)
     

    Methods inherited from class Object

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

    • MOD_ID

      public static final String MOD_ID
      See Also:
    • MSG_ONLINE

      public static final net.minecraft.network.chat.Component MSG_ONLINE
    • MSG_OFFLINE

      public static final net.minecraft.network.chat.Component MSG_OFFLINE
    • MSG_INVALID_STRUCTURE

      public static final net.minecraft.network.chat.Component MSG_INVALID_STRUCTURE
    • MSG_INVALID_OBSTRUCTED

      public static final net.minecraft.network.chat.Component MSG_INVALID_OBSTRUCTED
    • MSG_INVALID_BOUNDS_HIGH

      public static final net.minecraft.network.chat.Component MSG_INVALID_BOUNDS_HIGH
    • MSG_INVALID_BOUNDS_LOW

      public static final net.minecraft.network.chat.Component MSG_INVALID_BOUNDS_LOW
    • MSG_INVALID_BOUNDS_BORDER

      public static final net.minecraft.network.chat.Component MSG_INVALID_BOUNDS_BORDER
    • BLOCK_STATE_CODEC

      public static final com.mojang.serialization.Codec<net.minecraft.world.level.block.state.BlockState> BLOCK_STATE_CODEC
      A codec for BlockState that is based on the vanilla one, but uses lowercase property names to remain consistent with the rest of the schema.
  • Constructor Details

    • RetroReactors

      public RetroReactors()
  • Method Details

    • id

      public static net.minecraft.resources.Identifier id(String path)
    • isValidReactor

      public static boolean isValidReactor(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos)
    • locatePlayers

      public static List<net.minecraft.server.level.ServerPlayer> locatePlayers(net.minecraft.server.level.ServerLevel level, net.minecraft.core.BlockPos pos, int radius)