Skip to content

Commit

Permalink
import简化
Browse files Browse the repository at this point in the history
  • Loading branch information
SoHugePenguin committed Nov 4, 2022
1 parent 18136f5 commit 59b4b4a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,16 @@

import Minecraft.nukkit.cn.shygard.nukkit.testPlugin.Items.Summon_egg.anchor_information;
import cn.nukkit.Player;
import cn.nukkit.Server;
import cn.nukkit.entity.Entity;
import cn.nukkit.entity.EntityRideable;
import cn.nukkit.entity.custom.CustomEntity;
import cn.nukkit.entity.custom.CustomEntityDefinition;
import cn.nukkit.item.Item;
import cn.nukkit.level.format.FullChunk;
import cn.nukkit.math.Vector3;
import cn.nukkit.nbt.tag.CompoundTag;
import cn.nukkit.scheduler.TaskHandler;
import cn.nukkit.utils.Utils;
import org.jetbrains.annotations.NotNull;

import java.util.concurrent.atomic.AtomicBoolean;

import static Minecraft.nukkit.cn.shygard.nukkit.testPlugin.Items.Summon_egg.anchor_information.anchor_info;

public class Anchor extends Entity implements CustomEntity {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import cn.nukkit.item.customitem.CustomItemDefinition;
import cn.nukkit.item.customitem.ItemCustomTool;
import cn.nukkit.item.customitem.data.ItemCreativeCategory;
import cn.nukkit.item.customitem.data.Offset;
import cn.nukkit.item.customitem.data.RenderOffsets;
import cn.nukkit.item.food.Food;
import cn.nukkit.level.Sound;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
import cn.nukkit.item.customitem.CustomItemDefinition;
import cn.nukkit.item.customitem.ItemCustomTool;
import cn.nukkit.item.customitem.data.ItemCreativeCategory;
import cn.nukkit.item.customitem.data.Offset;
import cn.nukkit.item.customitem.data.RenderOffsets;


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
import Minecraft.nukkit.cn.shygard.nukkit.testPlugin.Entity.Car1;
import Minecraft.nukkit.cn.shygard.nukkit.testPlugin.Items.Custom_Pickaxe;
import Minecraft.nukkit.cn.shygard.nukkit.testPlugin.Items.Edibles.Fire_Pepper_Item;
import Minecraft.nukkit.cn.shygard.nukkit.testPlugin.Items.Saber.spear_1;
import Minecraft.nukkit.cn.shygard.nukkit.testPlugin.Items.Saber.sword_1;
import Minecraft.nukkit.cn.shygard.nukkit.testPlugin.Items.Saber.sword_2;
import Minecraft.nukkit.cn.shygard.nukkit.testPlugin.Items.Summon_egg.anchor_egg;
import Minecraft.nukkit.cn.shygard.nukkit.testPlugin.Items.Summon_egg.anchor_information;
import Minecraft.nukkit.cn.shygard.nukkit.testPlugin.Items.Tools.BuildGod_Item;
import Minecraft.nukkit.cn.shygard.nukkit.testPlugin.Items.Tools.TheWorld_Menu_Item;
import Minecraft.nukkit.cn.shygard.nukkit.testPlugin.Items.Saber.spear_1;
import Minecraft.nukkit.cn.shygard.nukkit.testPlugin.Windows.Build_Item_Win.Coordinate_sorting;
import cn.nukkit.Player;
import cn.nukkit.Server;
Expand All @@ -31,9 +31,6 @@
import cn.nukkit.plugin.PluginBase;
import cn.nukkit.plugin.PluginLogger;
import cn.nukkit.utils.Config;
import cn.nukkit.utils.Utils;
import cn.nukkit.utils.ZlibOriginal;
import cn.nukkit.utils.ZlibThreadLocal;

import java.io.File;
import java.io.IOException;
Expand Down Expand Up @@ -80,6 +77,7 @@ private void LoadWorld() {
}

public void onLoad() {
// 注释文本abc
PluginLogger log = this.getLogger();
if (Item.fromString("np:world_menu").equals(Item.get(0))) {
try {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package Minecraft.nukkit.cn.shygard.nukkit.testPlugin.Windows.SaveBuilder.Utils;

import java.io.*;
import java.io.Serializable;
import java.util.ArrayList;

public class BO implements Serializable{
Expand Down

0 comments on commit 59b4b4a

Please sign in to comment.