diff --git a/src/data/java/gripe/_90/megacells/datagen/MEGALanguageProvider.java b/src/data/java/gripe/_90/megacells/datagen/MEGALanguageProvider.java index e5c2a085..d8adb13e 100644 --- a/src/data/java/gripe/_90/megacells/datagen/MEGALanguageProvider.java +++ b/src/data/java/gripe/_90/megacells/datagen/MEGALanguageProvider.java @@ -7,6 +7,7 @@ import gripe._90.megacells.definition.MEGABlocks; import gripe._90.megacells.definition.MEGAItems; import gripe._90.megacells.definition.MEGATranslations; +import org.jetbrains.annotations.NotNull; public class MEGALanguageProvider extends LanguageProvider { public MEGALanguageProvider(PackOutput output) { @@ -27,4 +28,10 @@ protected void addTranslations() { add(translation.getTranslationKey(), translation.getEnglishText()); } } + + @NotNull + @Override + public String getName() { + return "Language"; + } } diff --git a/src/data/java/gripe/_90/megacells/datagen/MEGAModelProvider.java b/src/data/java/gripe/_90/megacells/datagen/MEGAModelProvider.java index c8920545..394aea18 100644 --- a/src/data/java/gripe/_90/megacells/datagen/MEGAModelProvider.java +++ b/src/data/java/gripe/_90/megacells/datagen/MEGAModelProvider.java @@ -272,4 +272,9 @@ private void interfaceOrProviderPart(ItemDefinition part) { .texture("front", front) .texture("back", back); } + + @Override + public String getName() { + return "Block States / Models"; + } } diff --git a/src/data/java/gripe/_90/megacells/datagen/MEGATagProvider.java b/src/data/java/gripe/_90/megacells/datagen/MEGATagProvider.java index b387a0cf..bd2ad541 100644 --- a/src/data/java/gripe/_90/megacells/datagen/MEGATagProvider.java +++ b/src/data/java/gripe/_90/megacells/datagen/MEGATagProvider.java @@ -57,6 +57,12 @@ protected void addTags(@NotNull HolderLookup.Provider provider) { .add(Items.ICE, Items.PACKED_ICE) .addOptionalTag(new ResourceLocation("functionalstorage", "ignore_crafting_check")); } + + @NotNull + @Override + public String getName() { + return "Tags (Item)"; + } } public static class BlockTags extends IntrinsicHolderTagsProvider { @@ -79,5 +85,11 @@ protected void addTags(@NotNull HolderLookup.Provider provider) { tag(MEGATags.SKY_STEEL_BLOCK).add(MEGABlocks.SKY_STEEL_BLOCK.block()); } + + @NotNull + @Override + public String getName() { + return "Tags (Block)"; + } } } diff --git a/src/main/java/gripe/_90/megacells/block/MEGAPatternProviderBlock.java b/src/main/java/gripe/_90/megacells/block/MEGAPatternProviderBlock.java index cd03cc72..97212637 100644 --- a/src/main/java/gripe/_90/megacells/block/MEGAPatternProviderBlock.java +++ b/src/main/java/gripe/_90/megacells/block/MEGAPatternProviderBlock.java @@ -33,7 +33,6 @@ import gripe._90.megacells.block.entity.MEGAPatternProviderBlockEntity; -@SuppressWarnings("deprecation") public class MEGAPatternProviderBlock extends AEBaseEntityBlock { private static final EnumProperty PUSH_DIRECTION = PatternProviderBlock.PUSH_DIRECTION; @@ -56,6 +55,7 @@ protected void createBlockStateDefinition(StateDefinition.Builder blockEntityType, BlockPos pos, BlockState blockState) { super(blockEntityType, pos, blockState); }