类 RaidCommand
- java.lang.Object
-
- net.minecraft.server.command.RaidCommand
-
public class RaidCommand extends Object
- Mappings:
Namespace Name official yyintermediary net/minecraft/class_6329named net/minecraft/server/command/RaidCommand
-
-
构造器概要
构造器 构造器 说明 RaidCommand()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 private static intexecuteCheck(ServerCommandSource source)private static intexecuteGlow(ServerCommandSource source)private static intexecuteSetOmen(ServerCommandSource source, int level)private static intexecuteSound(ServerCommandSource source, Text type)private static intexecuteSpawnLeader(ServerCommandSource source)private static intexecuteStart(ServerCommandSource source, int level)private static intexecuteStop(ServerCommandSource source)private static @Nullable RaidgetRaid(ServerPlayerEntity player)static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
-
-
方法详细资料
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
- Mappings:
Namespace Name Mixin selector official aLyy;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_36192Lnet/minecraft/class_6329;method_36192(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/RaidCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
executeGlow
private static int executeGlow(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLyy;a(Ldg;)Iintermediary method_36194Lnet/minecraft/class_6329;method_36194(Lnet/minecraft/class_2168;)Inamed executeGlowLnet/minecraft/server/command/RaidCommand;executeGlow(Lnet/minecraft/server/command/ServerCommandSource;)I
-
executeSetOmen
private static int executeSetOmen(ServerCommandSource source, int level) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official aLyy;a(Ldg;I)Iintermediary method_36195Lnet/minecraft/class_6329;method_36195(Lnet/minecraft/class_2168;I)Inamed executeSetOmenLnet/minecraft/server/command/RaidCommand;executeSetOmen(Lnet/minecraft/server/command/ServerCommandSource;I)I
-
executeSpawnLeader
private static int executeSpawnLeader(ServerCommandSource source)
- Mappings:
Namespace Name Mixin selector official bLyy;b(Ldg;)Iintermediary method_36198Lnet/minecraft/class_6329;method_36198(Lnet/minecraft/class_2168;)Inamed executeSpawnLeaderLnet/minecraft/server/command/RaidCommand;executeSpawnLeader(Lnet/minecraft/server/command/ServerCommandSource;)I
-
executeSound
private static int executeSound(ServerCommandSource source, Text type)
- Mappings:
Namespace Name Mixin selector official aLyy;a(Ldg;Lon;)Iintermediary method_36196Lnet/minecraft/class_6329;method_36196(Lnet/minecraft/class_2168;Lnet/minecraft/class_2561;)Inamed executeSoundLnet/minecraft/server/command/RaidCommand;executeSound(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/text/Text;)I
-
executeStart
private static int executeStart(ServerCommandSource source, int level) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official bLyy;b(Ldg;I)Iintermediary method_36199Lnet/minecraft/class_6329;method_36199(Lnet/minecraft/class_2168;I)Inamed executeStartLnet/minecraft/server/command/RaidCommand;executeStart(Lnet/minecraft/server/command/ServerCommandSource;I)I
-
executeStop
private static int executeStop(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official cLyy;c(Ldg;)Iintermediary method_36201Lnet/minecraft/class_6329;method_36201(Lnet/minecraft/class_2168;)Inamed executeStopLnet/minecraft/server/command/RaidCommand;executeStop(Lnet/minecraft/server/command/ServerCommandSource;)I
-
executeCheck
private static int executeCheck(ServerCommandSource source) throws com.mojang.brigadier.exceptions.CommandSyntaxException
- 抛出:
com.mojang.brigadier.exceptions.CommandSyntaxException- Mappings:
Namespace Name Mixin selector official dLyy;d(Ldg;)Iintermediary method_36203Lnet/minecraft/class_6329;method_36203(Lnet/minecraft/class_2168;)Inamed executeCheckLnet/minecraft/server/command/RaidCommand;executeCheck(Lnet/minecraft/server/command/ServerCommandSource;)I
-
getRaid
@Nullable private static @Nullable Raid getRaid(ServerPlayerEntity player)
- Mappings:
Namespace Name Mixin selector official aLyy;a(Labk;)Lbkk;intermediary method_36191Lnet/minecraft/class_6329;method_36191(Lnet/minecraft/class_3222;)Lnet/minecraft/class_3765;named getRaidLnet/minecraft/server/command/RaidCommand;getRaid(Lnet/minecraft/server/network/ServerPlayerEntity;)Lnet/minecraft/village/raid/Raid;
-
-