Skip to content

Commit

Permalink
清理代码
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuqi154 committed Jul 5, 2024
1 parent 88a2ec0 commit 8997965
Show file tree
Hide file tree
Showing 171 changed files with 167 additions and 214 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
import net.minecraft.world.level.block.entity.BlockEntity;
import net.minecraft.world.level.block.state.BlockState;
import net.minecraftforge.registries.ForgeRegistries;
import org.hiedacamellia.mystiasizakaya.content.cooking.get.*;
import org.hiedacamellia.mystiasizakaya.content.cooking.get.GetTagFromItemStacks;
import org.hiedacamellia.mystiasizakaya.content.cooking.get.GetTime;
import org.hiedacamellia.mystiasizakaya.content.item.ItemRegistery;
import org.hiedacamellia.mystiasizakaya.util.GetItemStack;
import org.hiedacamellia.mystiasizakaya.util.GetValue;
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.hiedacamellia.mystiasizakaya.content.cooking.get;

import net.minecraft.core.BlockPos;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.level.LevelAccessor;
import net.minecraftforge.registries.ForgeRegistries;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

import net.minecraft.world.item.ItemStack;
import net.minecraft.world.level.LevelAccessor;
import net.minecraftforge.registries.ForgeRegistries;
import org.hiedacamellia.mystiasizakaya.content.item.ingredients.*;

import java.util.*;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public class GetTagFromItemStacks {
public static List<String> get(LevelAccessor world, double x, double y, double z) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
package org.hiedacamellia.mystiasizakaya.content.cooking.get;

import net.minecraft.core.BlockPos;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.level.LevelAccessor;
import org.hiedacamellia.mystiasizakaya.content.item.ItemRegistery;
import org.hiedacamellia.mystiasizakaya.util.GetItemStack;

public class GetTime {
public static double execute(ItemStack target , Item util) {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.hiedacamellia.mystiasizakaya.content.cooking.ui;

import net.minecraft.core.BlockPos;
import net.minecraft.world.level.LevelAccessor;
import org.hiedacamellia.mystiasizakaya.util.GetValue;
import org.hiedacamellia.mystiasizakaya.util.cross.Pos;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
package org.hiedacamellia.mystiasizakaya.content.cooking.ui;

import net.minecraft.core.BlockPos;
import net.minecraft.network.chat.Component;
import net.minecraft.world.level.LevelAccessor;
import org.hiedacamellia.mystiasizakaya.util.GetItemStack;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.hiedacamellia.mystiasizakaya.content.item.beverages;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Beverages;

public class HongMoGuanHongChaItem extends Beverages {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.hiedacamellia.mystiasizakaya.content.item.beverages;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Beverages;

public class NiGeLuoNiItem extends Beverages {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.hiedacamellia.mystiasizakaya.content.item.beverages;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Beverages;

public class ShenZhiMaiItem extends Beverages {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.hiedacamellia.mystiasizakaya.content.item.beverages;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Beverages;

public class ShiSiYeItem extends Beverages {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.hiedacamellia.mystiasizakaya.content.item.beverages;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Beverages;

public class YueMianHuoJianItem extends Beverages {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class BaiGuoLuoBuPaiGuTangItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class BaiLuZhenSongItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class BaiTaoShengBaQiaoItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class BaiXueItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class BanNiDiKeDanItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class BeiJiTianXiaMiTaoSeLaItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class BiSiKaiWanBingGanItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class BingShanMaoYuDongNingItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class BuSiNiaoItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class ChangFaGongZhuItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class ChaoRouSiItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class ChouDouFuItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class ChuiXuanFengItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class ChuiZhuYinChunItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class CiShenPinPanItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class DaBanShaoItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class DaJiangHuChuanJiItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class DaSheYanItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class DiYuJiXinJinGaoItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class DouFuGuoItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class DouFuWeiChengItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class DouJiaZhengGaoItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class ErTianLiuItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class FanTuanItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class FengMaoZiChaHuiItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class FengZiDanItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class HaiDanCiShenItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class HaiDanXinXuanBingItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class HaiDaoXunRouItem extends Cuisines {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

package org.hiedacamellia.mystiasizakaya.content.item.cuisines;

import net.minecraft.world.item.*;
import net.minecraft.world.item.Rarity;
import org.hiedacamellia.mystiasizakaya.content.item.items.Cuisines;

public class HaiXianWeiChengTangItem extends Cuisines {
Expand Down
Loading

0 comments on commit 8997965

Please sign in to comment.