• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Java CommandBlockBaseLogic类代码示例

原作者: [db:作者] 来自: [db:来源] 收藏 邀请

本文整理汇总了Java中net.minecraft.tileentity.CommandBlockBaseLogic的典型用法代码示例。如果您正苦于以下问题:Java CommandBlockBaseLogic类的具体用法?Java CommandBlockBaseLogic怎么用?Java CommandBlockBaseLogic使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。



CommandBlockBaseLogic类属于net.minecraft.tileentity包,在下文中一共展示了CommandBlockBaseLogic类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: updateGui

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
public void updateGui()
{
    CommandBlockBaseLogic commandblockbaselogic = this.commandBlock.getCommandBlockLogic();
    this.commandTextField.setText(commandblockbaselogic.getCommand());
    this.trackOutput = commandblockbaselogic.shouldTrackOutput();
    this.commandBlockMode = this.commandBlock.getMode();
    this.conditional = this.commandBlock.isConditional();
    this.automatic = this.commandBlock.isAuto();
    this.updateCmdOutput();
    this.updateMode();
    this.updateConditional();
    this.updateAutoExec();
    this.doneBtn.enabled = true;
    this.outputBtn.enabled = true;
    this.modeBtn.enabled = true;
    this.conditionalBtn.enabled = true;
    this.autoExecBtn.enabled = true;
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:19,代码来源:GuiCommandBlock.java


示例2: updateCmdOutput

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
private void updateCmdOutput()
{
    CommandBlockBaseLogic commandblockbaselogic = this.commandBlock.getCommandBlockLogic();

    if (commandblockbaselogic.shouldTrackOutput())
    {
        this.outputBtn.displayString = "O";

        if (commandblockbaselogic.getLastOutput() != null)
        {
            this.previousOutputTextField.setText(commandblockbaselogic.getLastOutput().getUnformattedText());
        }
    }
    else
    {
        this.outputBtn.displayString = "X";
        this.previousOutputTextField.setText("-");
    }
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:20,代码来源:GuiCommandBlock.java


示例3: displayGuiEditCommandCart

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
@Override
public void displayGuiEditCommandCart(CommandBlockBaseLogic commandBlock) {
	if (m_realPlayer == null) {
		super.displayGuiEditCommandCart(commandBlock);
	} else {
		syncToRealPlayer();
		m_realPlayer.displayGuiEditCommandCart(commandBlock);
		syncPublicFieldsFromReal();
	}
}
 
开发者ID:orbwoi,项目名称:UniversalRemote,代码行数:11,代码来源:EntityPlayerMPProxy.java


示例4: displayGuiEditCommandCart

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
@Override
public void displayGuiEditCommandCart(CommandBlockBaseLogic commandBlock) {
	if (m_realPlayer == null) {
		super.displayGuiEditCommandCart(commandBlock);
	} else {
		m_realPlayer.displayGuiEditCommandCart(commandBlock);
	}
}
 
开发者ID:orbwoi,项目名称:UniversalRemote,代码行数:9,代码来源:EntityPlayerProxy.java


示例5: onBlockPlacedBy

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
/**
 * Called by ItemBlocks after a block is set in the world, to allow post-place logic
 */
public void onBlockPlacedBy(World worldIn, BlockPos pos, IBlockState state, EntityLivingBase placer, ItemStack stack)
{
    TileEntity tileentity = worldIn.getTileEntity(pos);

    if (tileentity instanceof TileEntityCommandBlock)
    {
        TileEntityCommandBlock tileentitycommandblock = (TileEntityCommandBlock)tileentity;
        CommandBlockBaseLogic commandblockbaselogic = tileentitycommandblock.getCommandBlockLogic();

        if (stack.hasDisplayName())
        {
            commandblockbaselogic.setName(stack.getDisplayName());
        }

        if (!worldIn.isRemote)
        {
            NBTTagCompound nbttagcompound = stack.getTagCompound();

            if (nbttagcompound == null || !nbttagcompound.hasKey("BlockEntityTag", 10))
            {
                commandblockbaselogic.setTrackOutput(worldIn.getGameRules().getBoolean("sendCommandFeedback"));
                tileentitycommandblock.setAuto(this == Blocks.CHAIN_COMMAND_BLOCK);
            }

            if (tileentitycommandblock.getMode() == TileEntityCommandBlock.Mode.SEQUENCE)
            {
                boolean flag = worldIn.isBlockPowered(pos);
                tileentitycommandblock.setPowered(flag);
            }
        }
    }
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:36,代码来源:BlockCommandBlock.java


示例6: initGui

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
/**
 * Adds the buttons (and other controls) to the screen in question. Called when the GUI is displayed and when the
 * window resizes, the buttonList is cleared beforehand.
 */
public void initGui()
{
    final CommandBlockBaseLogic commandblockbaselogic = this.commandBlock.getCommandBlockLogic();
    Keyboard.enableRepeatEvents(true);
    this.buttonList.clear();
    this.doneBtn = this.addButton(new GuiButton(0, this.width / 2 - 4 - 150, this.height / 4 + 120 + 12, 150, 20, I18n.format("gui.done", new Object[0])));
    this.cancelBtn = this.addButton(new GuiButton(1, this.width / 2 + 4, this.height / 4 + 120 + 12, 150, 20, I18n.format("gui.cancel", new Object[0])));
    this.outputBtn = this.addButton(new GuiButton(4, this.width / 2 + 150 - 20, 135, 20, 20, "O"));
    this.modeBtn = this.addButton(new GuiButton(5, this.width / 2 - 50 - 100 - 4, 165, 100, 20, I18n.format("advMode.mode.sequence", new Object[0])));
    this.conditionalBtn = this.addButton(new GuiButton(6, this.width / 2 - 50, 165, 100, 20, I18n.format("advMode.mode.unconditional", new Object[0])));
    this.autoExecBtn = this.addButton(new GuiButton(7, this.width / 2 + 50 + 4, 165, 100, 20, I18n.format("advMode.mode.redstoneTriggered", new Object[0])));
    this.commandTextField = new GuiTextField(2, this.fontRendererObj, this.width / 2 - 150, 50, 300, 20);
    this.commandTextField.setMaxStringLength(32500);
    this.commandTextField.setFocused(true);
    this.previousOutputTextField = new GuiTextField(3, this.fontRendererObj, this.width / 2 - 150, 135, 276, 20);
    this.previousOutputTextField.setMaxStringLength(32500);
    this.previousOutputTextField.setEnabled(false);
    this.previousOutputTextField.setText("-");
    this.doneBtn.enabled = false;
    this.outputBtn.enabled = false;
    this.modeBtn.enabled = false;
    this.conditionalBtn.enabled = false;
    this.autoExecBtn.enabled = false;
    this.tabCompleter = new TabCompleter(this.commandTextField, true)
    {
        @Nullable
        public BlockPos getTargetBlockPos()
        {
            return commandblockbaselogic.getPosition();
        }
    };
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:37,代码来源:GuiCommandBlock.java


示例7: updateCmdOutput

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
private void updateCmdOutput() {
	CommandBlockBaseLogic logic = commandBlock.getCommandBlockLogic();

	if (logic.shouldTrackOutput()) {
		outputBtn.displayString = Translate.GUI_COMMANDBLOCK_TRACKINGOUTPUT;
		// Previous output text field text already set by superclass
	} else {
		outputBtn.displayString = Translate.GUI_COMMANDBLOCK_IGNORINGOUTPUT;
		previousOutputTextField.setText(Translate.GUI_COMMANDBLOCK_NOOUTPUT);
	}
}
 
开发者ID:Earthcomputer,项目名称:Easy-Editors,代码行数:12,代码来源:GuiNewCommandBlock.java


示例8: initGui

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
/**
 * Adds the buttons (and other controls) to the screen in question. Called when the GUI is displayed and when the
 * window resizes, the buttonList is cleared beforehand.
 */
public void initGui()
{
    final CommandBlockBaseLogic commandblockbaselogic = this.commandBlock.getCommandBlockLogic();
    Keyboard.enableRepeatEvents(true);
    this.buttonList.clear();
    this.doneBtn = this.func_189646_b(new GuiButton(0, this.width / 2 - 4 - 150, this.height / 4 + 120 + 12, 150, 20, I18n.format("gui.done", new Object[0])));
    this.cancelBtn = this.func_189646_b(new GuiButton(1, this.width / 2 + 4, this.height / 4 + 120 + 12, 150, 20, I18n.format("gui.cancel", new Object[0])));
    this.outputBtn = this.func_189646_b(new GuiButton(4, this.width / 2 + 150 - 20, 135, 20, 20, "O"));
    this.modeBtn = this.func_189646_b(new GuiButton(5, this.width / 2 - 50 - 100 - 4, 165, 100, 20, I18n.format("advMode.mode.sequence", new Object[0])));
    this.conditionalBtn = this.func_189646_b(new GuiButton(6, this.width / 2 - 50, 165, 100, 20, I18n.format("advMode.mode.unconditional", new Object[0])));
    this.autoExecBtn = this.func_189646_b(new GuiButton(7, this.width / 2 + 50 + 4, 165, 100, 20, I18n.format("advMode.mode.redstoneTriggered", new Object[0])));
    this.commandTextField = new GuiTextField(2, this.fontRendererObj, this.width / 2 - 150, 50, 300, 20);
    this.commandTextField.setMaxStringLength(32500);
    this.commandTextField.setFocused(true);
    this.previousOutputTextField = new GuiTextField(3, this.fontRendererObj, this.width / 2 - 150, 135, 276, 20);
    this.previousOutputTextField.setMaxStringLength(32500);
    this.previousOutputTextField.setEnabled(false);
    this.previousOutputTextField.setText("-");
    this.doneBtn.enabled = false;
    this.outputBtn.enabled = false;
    this.modeBtn.enabled = false;
    this.conditionalBtn.enabled = false;
    this.autoExecBtn.enabled = false;
    this.tabCompleter = new TabCompleter(this.commandTextField, true)
    {
        @Nullable
        public BlockPos getTargetBlockPos()
        {
            return commandblockbaselogic.getPosition();
        }
    };
}
 
开发者ID:BlazeAxtrius,项目名称:ExpandedRailsMod,代码行数:37,代码来源:GuiCommandBlock.java


示例9: displayGuiEditCommandCart

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
public void displayGuiEditCommandCart(CommandBlockBaseLogic commandBlock)
{
}
 
开发者ID:NSExceptional,项目名称:Zombe-Modpack,代码行数:4,代码来源:EntityPlayer.java


示例10: displayGuiEditCommandCart

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
public void displayGuiEditCommandCart(CommandBlockBaseLogic commandBlock)
{
    this.mc.displayGuiScreen(new GuiEditCommandBlockMinecart(commandBlock));
}
 
开发者ID:NSExceptional,项目名称:Zombe-Modpack,代码行数:5,代码来源:EntityPlayerSP.java


示例11: getCommandBlockLogic

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
public CommandBlockBaseLogic getCommandBlockLogic()
{
    return this.commandBlockLogic;
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:5,代码来源:EntityMinecartCommandBlock.java


示例12: updateTick

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
public void updateTick(World worldIn, BlockPos pos, IBlockState state, Random rand)
{
    if (!worldIn.isRemote)
    {
        TileEntity tileentity = worldIn.getTileEntity(pos);

        if (tileentity instanceof TileEntityCommandBlock)
        {
            TileEntityCommandBlock tileentitycommandblock = (TileEntityCommandBlock)tileentity;
            CommandBlockBaseLogic commandblockbaselogic = tileentitycommandblock.getCommandBlockLogic();
            boolean flag = !StringUtils.isNullOrEmpty(commandblockbaselogic.getCommand());
            TileEntityCommandBlock.Mode tileentitycommandblock$mode = tileentitycommandblock.getMode();
            boolean flag1 = !tileentitycommandblock.isConditional() || this.isNextToSuccessfulCommandBlock(worldIn, pos, state);
            boolean flag2 = tileentitycommandblock.isConditionMet();
            boolean flag3 = false;

            if (tileentitycommandblock$mode != TileEntityCommandBlock.Mode.SEQUENCE && flag2 && flag)
            {
                commandblockbaselogic.trigger(worldIn);
                flag3 = true;
            }

            if (tileentitycommandblock.isPowered() || tileentitycommandblock.isAuto())
            {
                if (tileentitycommandblock$mode == TileEntityCommandBlock.Mode.SEQUENCE && flag1 && flag)
                {
                    commandblockbaselogic.trigger(worldIn);
                    flag3 = true;
                }

                if (tileentitycommandblock$mode == TileEntityCommandBlock.Mode.AUTO)
                {
                    worldIn.scheduleUpdate(pos, this, this.tickRate(worldIn));

                    if (flag1)
                    {
                        this.propagateUpdate(worldIn, pos);
                    }
                }
            }

            if (!flag3)
            {
                commandblockbaselogic.setSuccessCount(0);
            }

            tileentitycommandblock.setConditionMet(flag1);
            worldIn.updateComparatorOutputLevel(pos, this);
        }
    }
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:52,代码来源:BlockCommandBlock.java


示例13: GuiEditCommandBlockMinecart

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
public GuiEditCommandBlockMinecart(CommandBlockBaseLogic p_i46595_1_)
{
    this.commandBlockLogic = p_i46595_1_;
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:5,代码来源:GuiEditCommandBlockMinecart.java


示例14: actionPerformed

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
/**
 * Called by the controls from the buttonList when activated. (Mouse pressed for buttons)
 */
protected void actionPerformed(GuiButton button) throws IOException
{
    if (button.enabled)
    {
        CommandBlockBaseLogic commandblockbaselogic = this.commandBlock.getCommandBlockLogic();

        if (button.id == 1)
        {
            commandblockbaselogic.setTrackOutput(this.trackOutput);
            this.mc.displayGuiScreen((GuiScreen)null);
        }
        else if (button.id == 0)
        {
            PacketBuffer packetbuffer = new PacketBuffer(Unpooled.buffer());
            commandblockbaselogic.fillInInfo(packetbuffer);
            packetbuffer.writeString(this.commandTextField.getText());
            packetbuffer.writeBoolean(commandblockbaselogic.shouldTrackOutput());
            packetbuffer.writeString(this.commandBlockMode.name());
            packetbuffer.writeBoolean(this.conditional);
            packetbuffer.writeBoolean(this.automatic);
            this.mc.getConnection().sendPacket(new CPacketCustomPayload("MC|AutoCmd", packetbuffer));

            if (!commandblockbaselogic.shouldTrackOutput())
            {
                commandblockbaselogic.setLastOutput((ITextComponent)null);
            }

            this.mc.displayGuiScreen((GuiScreen)null);
        }
        else if (button.id == 4)
        {
            commandblockbaselogic.setTrackOutput(!commandblockbaselogic.shouldTrackOutput());
            this.updateCmdOutput();
        }
        else if (button.id == 5)
        {
            this.nextMode();
            this.updateMode();
        }
        else if (button.id == 6)
        {
            this.conditional = !this.conditional;
            this.updateConditional();
        }
        else if (button.id == 7)
        {
            this.automatic = !this.automatic;
            this.updateAutoExec();
        }
    }
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:55,代码来源:GuiCommandBlock.java


示例15: notifyListener

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
/**
 * Send an informative message to the server operators
 */
public void notifyListener(ICommandSender sender, ICommand command, int flags, String translationKey, Object... translationArgs)
{
    boolean flag = true;
    MinecraftServer minecraftserver = this.server;

    if (!sender.sendCommandFeedback())
    {
        flag = false;
    }

    ITextComponent itextcomponent = new TextComponentTranslation("chat.type.admin", new Object[] {sender.getName(), new TextComponentTranslation(translationKey, translationArgs)});
    itextcomponent.getStyle().setColor(TextFormatting.GRAY);
    itextcomponent.getStyle().setItalic(Boolean.valueOf(true));

    if (flag)
    {
        for (EntityPlayer entityplayer : minecraftserver.getPlayerList().getPlayerList())
        {
            if (entityplayer != sender && minecraftserver.getPlayerList().canSendCommands(entityplayer.getGameProfile()) && command.checkPermission(this.server, sender))
            {
                boolean flag1 = sender instanceof MinecraftServer && this.server.shouldBroadcastConsoleToOps();
                boolean flag2 = sender instanceof RConConsoleSource && this.server.shouldBroadcastRconToOps();

                if (flag1 || flag2 || !(sender instanceof RConConsoleSource) && !(sender instanceof MinecraftServer))
                {
                    entityplayer.addChatMessage(itextcomponent);
                }
            }
        }
    }

    if (sender != minecraftserver && minecraftserver.worldServers[0].getGameRules().getBoolean("logAdminCommands"))
    {
        minecraftserver.addChatMessage(itextcomponent);
    }

    boolean flag3 = minecraftserver.worldServers[0].getGameRules().getBoolean("sendCommandFeedback");

    if (sender instanceof CommandBlockBaseLogic)
    {
        flag3 = ((CommandBlockBaseLogic)sender).shouldTrackOutput();
    }

    if ((flags & 1) != 1 && flag3 || sender instanceof MinecraftServer)
    {
        sender.addChatMessage(new TextComponentTranslation(translationKey, translationArgs));
    }
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:52,代码来源:ServerCommandManager.java


示例16: execute

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
/**
 * Callback for when the command is executed
 */
public void execute(MinecraftServer server, ICommandSender sender, String[] args) throws CommandException
{
    if (sender instanceof CommandBlockBaseLogic)
    {
        sender.addChatMessage((new TextComponentString("Searge says: ")).appendText(seargeSays[this.rand.nextInt(seargeSays.length) % seargeSays.length]));
    }
    else
    {
        List<ICommand> list = this.getSortedPossibleCommands(sender, server);
        int i = 7;
        int j = (list.size() - 1) / 7;
        int k = 0;

        try
        {
            k = args.length == 0 ? 0 : parseInt(args[0], 1, j + 1) - 1;
        }
        catch (NumberInvalidException numberinvalidexception)
        {
            Map<String, ICommand> map = this.getCommandMap(server);
            ICommand icommand = (ICommand)map.get(args[0]);

            if (icommand != null)
            {
                throw new WrongUsageException(icommand.getCommandUsage(sender), new Object[0]);
            }

            if (MathHelper.getInt(args[0], -1) == -1 && MathHelper.getInt(args[0], -2) == -2)
            {
                throw new CommandNotFoundException();
            }

            throw numberinvalidexception;
        }

        int l = Math.min((k + 1) * 7, list.size());
        TextComponentTranslation textcomponenttranslation1 = new TextComponentTranslation("commands.help.header", new Object[] {Integer.valueOf(k + 1), Integer.valueOf(j + 1)});
        textcomponenttranslation1.getStyle().setColor(TextFormatting.DARK_GREEN);
        sender.addChatMessage(textcomponenttranslation1);

        for (int i1 = k * 7; i1 < l; ++i1)
        {
            ICommand icommand1 = (ICommand)list.get(i1);
            TextComponentTranslation textcomponenttranslation = new TextComponentTranslation(icommand1.getCommandUsage(sender), new Object[0]);
            textcomponenttranslation.getStyle().setClickEvent(new ClickEvent(ClickEvent.Action.SUGGEST_COMMAND, "/" + icommand1.getCommandName() + " "));
            sender.addChatMessage(textcomponenttranslation);
        }

        if (k == 0)
        {
            TextComponentTranslation textcomponenttranslation2 = new TextComponentTranslation("commands.help.footer", new Object[0]);
            textcomponenttranslation2.getStyle().setColor(TextFormatting.GREEN);
            sender.addChatMessage(textcomponenttranslation2);
        }
    }
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:60,代码来源:CommandHelp.java


示例17: execute

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
/**
 * Callback for when the command is executed
 */
public void execute(MinecraftServer server, ICommandSender sender, String[] args) throws CommandException
{
    if (sender instanceof CommandBlockBaseLogic)
    {
        sender.addChatMessage((new TextComponentString("Searge says: ")).appendText(seargeSays[this.rand.nextInt(seargeSays.length) % seargeSays.length]));
    }
    else
    {
        List<ICommand> list = this.getSortedPossibleCommands(sender, server);
        int i = 7;
        int j = (list.size() - 1) / 7;
        int k = 0;

        try
        {
            k = args.length == 0 ? 0 : parseInt(args[0], 1, j + 1) - 1;
        }
        catch (NumberInvalidException numberinvalidexception)
        {
            Map<String, ICommand> map = this.getCommandMap(server);
            ICommand icommand = (ICommand)map.get(args[0]);

            if (icommand != null)
            {
                throw new WrongUsageException(icommand.getCommandUsage(sender), new Object[0]);
            }

            if (MathHelper.parseIntWithDefault(args[0], -1) != -1)
            {
                throw numberinvalidexception;
            }

            throw new CommandNotFoundException();
        }

        int l = Math.min((k + 1) * 7, list.size());
        TextComponentTranslation textcomponenttranslation1 = new TextComponentTranslation("commands.help.header", new Object[] {Integer.valueOf(k + 1), Integer.valueOf(j + 1)});
        textcomponenttranslation1.getStyle().setColor(TextFormatting.DARK_GREEN);
        sender.addChatMessage(textcomponenttranslation1);

        for (int i1 = k * 7; i1 < l; ++i1)
        {
            ICommand icommand1 = (ICommand)list.get(i1);
            TextComponentTranslation textcomponenttranslation = new TextComponentTranslation(icommand1.getCommandUsage(sender), new Object[0]);
            textcomponenttranslation.getStyle().setClickEvent(new ClickEvent(ClickEvent.Action.SUGGEST_COMMAND, "/" + icommand1.getCommandName() + " "));
            sender.addChatMessage(textcomponenttranslation);
        }

        if (k == 0 && sender instanceof EntityPlayer)
        {
            TextComponentTranslation textcomponenttranslation2 = new TextComponentTranslation("commands.help.footer", new Object[0]);
            textcomponenttranslation2.getStyle().setColor(TextFormatting.GREEN);
            sender.addChatMessage(textcomponenttranslation2);
        }
    }
}
 
开发者ID:F1r3w477,项目名称:CustomWorldGen,代码行数:60,代码来源:CommandHelp.java


示例18: checkPermission

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
@Override
public boolean checkPermission(MinecraftServer server, ICommandSender sender)
{
    return sender instanceof CommandBlockBaseLogic || super.checkPermission(server, sender);
}
 
开发者ID:mchorse,项目名称:metamorph,代码行数:6,代码来源:CommandMorph.java


示例19: displayGuiEditCommandCart

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
@Override
public void displayGuiEditCommandCart(CommandBlockBaseLogic logic) {
    //not relevant
}
 
开发者ID:InfinityRaider,项目名称:SettlerCraft,代码行数:5,代码来源:EntityPlayerWrappedSettler.java


示例20: displayGuiEditCommandCart

import net.minecraft.tileentity.CommandBlockBaseLogic; //导入依赖的package包/类
public void displayGuiEditCommandCart(CommandBlockBaseLogic p_184809_1_)
{
}
 
开发者ID:BlazeAxtrius,项目名称:ExpandedRailsMod,代码行数:4,代码来源:EntityPlayer.java



注:本文中的net.minecraft.tileentity.CommandBlockBaseLogic类示例整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。


鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
Java Base64Utils类代码示例发布时间:2022-05-22
下一篇:
Java AuthenticationException类代码示例发布时间:2022-05-22
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap