Class RetroReactors
java.lang.Object
net.darkhax.retroreactors.common.RetroReactors
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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 Stringstatic final net.minecraft.network.chat.Componentstatic final net.minecraft.network.chat.Componentstatic final net.minecraft.network.chat.Componentstatic final net.minecraft.network.chat.Componentstatic final net.minecraft.network.chat.Componentstatic final net.minecraft.network.chat.Componentstatic final net.minecraft.network.chat.Component -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraft.resources.Identifierstatic booleanisValidReactor(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)
-
Field Details
-
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_CODECA 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
-
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)
-