Package com.lightning.northstar.content
Enum Class NorthstarPackets
- All Implemented Interfaces:
Serializable,Comparable<NorthstarPackets>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final net.minecraft.resources.ResourceLocationstatic final intstatic final String -
Method Summary
Modifier and TypeMethodDescriptionstatic net.minecraftforge.network.simple.SimpleChannelstatic voidstatic voidsendToNear(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, int range, Object message) static NorthstarPacketsReturns the enum constant of this class with the specified name.static NorthstarPackets[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UPDATE_ROCKET_STATION
-
UPDATE_TEMPERATURE_REGULATOR
-
TELESCOPE_PRINT
-
ROCKET_CONTROLS_INPUT
-
ROCKET_SYNC
-
ROCKET_QUICK_SYNC
-
ROCKET_CONTROL
-
ACTOR_CONFIG
-
RELATIVE_TELEPORT
-
ENTITY_LOCK
-
-
Field Details
-
CHANNEL_NAME
public static final net.minecraft.resources.ResourceLocation CHANNEL_NAME -
NETWORK_VERSION
public static final int NETWORK_VERSION- See Also:
-
NETWORK_VERSION_STR
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
registerPackets
public static void registerPackets() -
getChannel
public static net.minecraftforge.network.simple.SimpleChannel getChannel() -
sendToNear
public static void sendToNear(net.minecraft.world.level.Level world, net.minecraft.core.BlockPos pos, int range, Object message)
-