[Fix] Enforce loading order (#41)
This commit is contained in:
parent
052f538444
commit
a340de4adc
3 changed files with 12 additions and 0 deletions
|
@ -41,6 +41,8 @@ public class BetterEnd implements ModInitializer {
|
|||
EndEntities.register();
|
||||
EndBiomes.register();
|
||||
EndTags.register();
|
||||
EndBlocks.ensureStaticallyLoaded();
|
||||
EndItems.ensureStaticallyLoaded();
|
||||
EndEnchantments.register();
|
||||
EndPotions.register();
|
||||
CraftingRecipes.register();
|
||||
|
|
|
@ -20,6 +20,7 @@ import net.minecraft.world.level.material.MaterialColor;
|
|||
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
|
||||
|
||||
import java.util.List;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class EndBlocks {
|
||||
|
@ -657,4 +658,8 @@ public class EndBlocks {
|
|||
public static BlockRegistry getBlockRegistry() {
|
||||
return REGISTRY;
|
||||
}
|
||||
|
||||
@ApiStatus.Internal
|
||||
public static void ensureStaticallyLoaded() {
|
||||
}
|
||||
}
|
||||
|
|
|
@ -33,6 +33,7 @@ import net.minecraft.world.item.Tiers;
|
|||
import net.fabricmc.fabric.api.item.v1.FabricItemSettings;
|
||||
|
||||
import java.util.List;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public class EndItems {
|
||||
|
@ -354,4 +355,8 @@ public class EndItems {
|
|||
public static ItemRegistry getItemRegistry() {
|
||||
return REGISTRY;
|
||||
}
|
||||
|
||||
@ApiStatus.Internal
|
||||
public static void ensureStaticallyLoaded() {
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue