Items and Blocks registries (WIP)
This commit is contained in:
parent
41df84404b
commit
a3e781b401
34 changed files with 313 additions and 1771 deletions
|
@ -53,7 +53,7 @@ public class EndEntities {
|
|||
EntityType<T> type = FabricEntityTypeBuilder.<T>create(group, entity).dimensions(fixedSize ? EntityDimensions.fixed(width, height) : EntityDimensions.scalable(width, height)).build();
|
||||
if (Configs.ENTITY_CONFIG.getBooleanRoot(id.getPath(), true)) {
|
||||
FabricDefaultAttributeRegistry.register(type, attributes);
|
||||
EndItems.registerEgg("spawn_egg_" + name, type, eggColor, dotsColor);
|
||||
EndItems.registerEndEgg("spawn_egg_" + name, type, eggColor, dotsColor);
|
||||
return Registry.register(Registry.ENTITY_TYPE, BetterEnd.makeID(name), type);
|
||||
}
|
||||
return type;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue