Skip to content

Commit

Permalink
Merge pull request #10 from Yuqi154/master
Browse files Browse the repository at this point in the history
重构项目目录以匹配团队名称。
  • Loading branch information
Yuqi154 authored Apr 30, 2024
2 parents 8c15abf + 8bcd45b commit 692e1b5
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 33 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.gensokyo.nucleardelight;
package org.hiedacamellia.nuclearelysian;

import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.item.Item;
Expand All @@ -8,7 +8,6 @@
import net.minecraftforge.fml.event.config.ModConfigEvent;
import net.minecraftforge.registries.ForgeRegistries;

import java.util.Collections;
import java.util.List;
import java.util.Set;
import java.util.stream.Collectors;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.gensokyo.nucleardelight;
package org.hiedacamellia.nuclearelysian;

import com.gensokyo.nucleardelight.datagenerator.LangName;
import com.gensokyo.nucleardelight.register.AutoRegistryObject;
import com.gensokyo.nucleardelight.world.effect.MobEffects;
import com.gensokyo.nucleardelight.world.food.Foods;
import org.hiedacamellia.nuclearelysian.datagenerator.LangName;
import org.hiedacamellia.nuclearelysian.register.AutoRegistryObject;
import org.hiedacamellia.nuclearelysian.world.effect.MobEffects;
import org.hiedacamellia.nuclearelysian.world.food.Foods;
import com.mojang.logging.LogUtils;
import net.minecraft.client.Minecraft;
import net.minecraft.core.registries.Registries;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package com.gensokyo.nucleardelight;
package org.hiedacamellia.nuclearelysian;

import com.gensokyo.nucleardelight.datagenerator.LangName;
import com.gensokyo.nucleardelight.datagenerator.Langs;
import org.hiedacamellia.nuclearelysian.datagenerator.LangName;
import org.hiedacamellia.nuclearelysian.datagenerator.Langs;
import com.mojang.logging.LogUtils;
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.RegistryObject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.gensokyo.nucleardelight.datagenerator;
package org.hiedacamellia.nuclearelysian.datagenerator;

import com.gensokyo.nucleardelight.NuclearDelight;
import org.hiedacamellia.nuclearelysian.NuclearDelight;
import net.minecraft.data.PackOutput;
import net.minecraft.world.item.Item;
import net.minecraftforge.common.data.ExistingFileHelper;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.gensokyo.nucleardelight.datagenerator;
package org.hiedacamellia.nuclearelysian.datagenerator;

import java.lang.annotation.*;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.gensokyo.nucleardelight.datagenerator;
package org.hiedacamellia.nuclearelysian.datagenerator;

import com.gensokyo.nucleardelight.NuclearDelight;
import org.hiedacamellia.nuclearelysian.NuclearDelight;
import net.minecraft.data.PackOutput;
import net.minecraftforge.common.data.LanguageProvider;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.gensokyo.nucleardelight.datagenerator;
package org.hiedacamellia.nuclearelysian.datagenerator;

public enum LangName {
EN_US("en_us"),
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.gensokyo.nucleardelight.datagenerator;
package org.hiedacamellia.nuclearelysian.datagenerator;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.gensokyo.nucleardelight.datagenerator;
package org.hiedacamellia.nuclearelysian.datagenerator;

import com.gensokyo.nucleardelight.NuclearDelight;
import org.hiedacamellia.nuclearelysian.NuclearDelight;
import net.minecraft.data.PackOutput;
import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.item.Item;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.gensokyo.nucleardelight.register;
package org.hiedacamellia.nuclearelysian.register;

import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.RegistryObject;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.gensokyo.nucleardelight.world.effect;
package org.hiedacamellia.nuclearelysian.world.effect;

import com.gensokyo.nucleardelight.register.AutoRegistryObject;
import org.hiedacamellia.nuclearelysian.register.AutoRegistryObject;
import net.minecraft.world.effect.MobEffect;

public class MobEffects {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package com.gensokyo.nucleardelight.world.effect;
package org.hiedacamellia.nuclearelysian.world.effect;

import net.minecraft.world.effect.MobEffect;
import net.minecraft.world.effect.MobEffectCategory;
Expand All @@ -19,7 +19,7 @@ protected VomitingMobEffect() {
public void applyEffectTick(@NotNull LivingEntity entity, int level) {
if (!entity.hasEffect(MobEffects.CONFUSION)) {
entity.addEffect(new MobEffectInstance(MobEffects.CONFUSION,
Objects.requireNonNull(entity.getEffect(com.gensokyo.nucleardelight.world.effect.MobEffects.VOMITING.get())).getDuration(), 1));
Objects.requireNonNull(entity.getEffect(org.hiedacamellia.nuclearelysian.world.effect.MobEffects.VOMITING.get())).getDuration(), 1));
}
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package com.gensokyo.nucleardelight.world.food;
package org.hiedacamellia.nuclearelysian.world.food;

import com.gensokyo.nucleardelight.datagenerator.Lang;
import com.gensokyo.nucleardelight.datagenerator.LangName;
import com.gensokyo.nucleardelight.datagenerator.Langs;
import com.gensokyo.nucleardelight.world.effect.MobEffects;
import org.hiedacamellia.nuclearelysian.datagenerator.Lang;
import org.hiedacamellia.nuclearelysian.datagenerator.LangName;
import org.hiedacamellia.nuclearelysian.datagenerator.Langs;
import org.hiedacamellia.nuclearelysian.world.effect.MobEffects;
import com.mojang.logging.LogUtils;
import net.minecraft.world.effect.MobEffectInstance;
import net.minecraft.world.food.FoodProperties;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package org.hiedacamellia.nuclearelysian.world.item;

public class Items {
}

0 comments on commit 692e1b5

Please sign in to comment.