Skip to content

Commit 908df5a

Browse files
committed
set the entity package structure
1 parent f734fa3 commit 908df5a

File tree

2 files changed

+16
-2
lines changed

2 files changed

+16
-2
lines changed

src/main/java/org/infernalstudios/infernalexp/InfernalExpansion.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
package org.infernalstudios.infernalexp;
22

33
import net.fabricmc.api.ModInitializer;
4-
54
import net.minecraft.util.Identifier;
65
import org.infernalstudios.infernalexp.block.ModBlocks;
6+
import org.infernalstudios.infernalexp.entity.ModEntities;
77
import org.infernalstudios.infernalexp.item.ModItemGroups;
88
import org.infernalstudios.infernalexp.item.ModItems;
99
import org.infernalstudios.infernalexp.setup.ModDataGenerator;
@@ -19,9 +19,10 @@ public class InfernalExpansion implements ModInitializer {
1919
public void onInitialize() {
2020
ModItems.register();
2121
ModBlocks.register();
22-
2322
ModItemGroups.register();
2423

24+
ModEntities.register();
25+
2526

2627
/** The rest of this method's body should be left as called last to prevent datagen issues, only add stuff before this comment */
2728
ModDataGenerator.registerBurnable();
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
package org.infernalstudios.infernalexp.entity;
2+
3+
import org.infernalstudios.infernalexp.InfernalExpansion;
4+
5+
public class ModEntities {
6+
/** Wanted to write some dummy stuff on how to register entities, but it's different with Gecko so I don't know how in the end */
7+
public static void register() {
8+
InfernalExpansion.log("Registering Entities for " + InfernalExpansion.MOD_ID);
9+
10+
/** Every entity needs its attributes registered this way */
11+
//FabricDefaultAttributeRegistry.register(CRYSTIE, CrystieEntity.createAttributes());
12+
}
13+
}

0 commit comments

Comments
 (0)