Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

重构项目目录以匹配团队名称。 #10

Merged
merged 1 commit into from
Apr 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

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 {
}