Commit 908df5a 1 parent f734fa3 commit 908df5a Copy full SHA for 908df5a
File tree 2 files changed +16
-2
lines changed
src/main/java/org/infernalstudios/infernalexp
2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change 1
1
package org .infernalstudios .infernalexp ;
2
2
3
3
import net .fabricmc .api .ModInitializer ;
4
-
5
4
import net .minecraft .util .Identifier ;
6
5
import org .infernalstudios .infernalexp .block .ModBlocks ;
6
+ import org .infernalstudios .infernalexp .entity .ModEntities ;
7
7
import org .infernalstudios .infernalexp .item .ModItemGroups ;
8
8
import org .infernalstudios .infernalexp .item .ModItems ;
9
9
import org .infernalstudios .infernalexp .setup .ModDataGenerator ;
@@ -19,9 +19,10 @@ public class InfernalExpansion implements ModInitializer {
19
19
public void onInitialize () {
20
20
ModItems .register ();
21
21
ModBlocks .register ();
22
-
23
22
ModItemGroups .register ();
24
23
24
+ ModEntities .register ();
25
+
25
26
26
27
/** The rest of this method's body should be left as called last to prevent datagen issues, only add stuff before this comment */
27
28
ModDataGenerator .registerBurnable ();
Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments