From 6c4a253b80f8fb98e7abe20daa229e6572b76448 Mon Sep 17 00:00:00 2001 From: quat1024 Date: Mon, 31 Jul 2023 00:29:14 -0400 Subject: [PATCH] I don't think i ever ran imports. Run imports --- .../github/cottonmc/templates/Templates.java | 25 +++++++++++++++++-- .../cottonmc/templates/TemplatesClient.java | 2 +- .../templates/TemplatesModelProvider.java | 1 - .../templates/block/TemplateDoorBlock.java | 7 +++++- 4 files changed, 30 insertions(+), 5 deletions(-) diff --git a/src/main/java/io/github/cottonmc/templates/Templates.java b/src/main/java/io/github/cottonmc/templates/Templates.java index d615d48..593a806 100644 --- a/src/main/java/io/github/cottonmc/templates/Templates.java +++ b/src/main/java/io/github/cottonmc/templates/Templates.java @@ -1,11 +1,32 @@ package io.github.cottonmc.templates; import io.github.cottonmc.templates.api.TemplateInteractionUtil; -import io.github.cottonmc.templates.block.*; +import io.github.cottonmc.templates.block.TemplateBlock; +import io.github.cottonmc.templates.block.TemplateButtonBlock; +import io.github.cottonmc.templates.block.TemplateCandleBlock; +import io.github.cottonmc.templates.block.TemplateCarpetBlock; +import io.github.cottonmc.templates.block.TemplateDoorBlock; +import io.github.cottonmc.templates.block.TemplateEntity; +import io.github.cottonmc.templates.block.TemplateFenceBlock; +import io.github.cottonmc.templates.block.TemplateFenceGateBlock; +import io.github.cottonmc.templates.block.TemplateLeverBlock; +import io.github.cottonmc.templates.block.TemplatePaneBlock; +import io.github.cottonmc.templates.block.TemplatePostBlock; +import io.github.cottonmc.templates.block.TemplatePressurePlateBlock; +import io.github.cottonmc.templates.block.TemplateSlabBlock; +import io.github.cottonmc.templates.block.TemplateSlopeBlock; +import io.github.cottonmc.templates.block.TemplateStairsBlock; +import io.github.cottonmc.templates.block.TemplateTrapdoorBlock; +import io.github.cottonmc.templates.block.TemplateWallBlock; import net.fabricmc.api.ModInitializer; import net.fabricmc.fabric.api.itemgroup.v1.FabricItemGroup; import net.fabricmc.fabric.api.object.builder.v1.block.entity.FabricBlockEntityTypeBuilder; -import net.minecraft.block.*; +import net.minecraft.block.AbstractBlock; +import net.minecraft.block.Block; +import net.minecraft.block.BlockSetType; +import net.minecraft.block.BlockState; +import net.minecraft.block.Blocks; +import net.minecraft.block.GlazedTerracottaBlock; import net.minecraft.block.entity.BlockEntityType; import net.minecraft.client.item.TooltipContext; import net.minecraft.item.BlockItem; diff --git a/src/main/java/io/github/cottonmc/templates/TemplatesClient.java b/src/main/java/io/github/cottonmc/templates/TemplatesClient.java index d4ba195..e0862f1 100644 --- a/src/main/java/io/github/cottonmc/templates/TemplatesClient.java +++ b/src/main/java/io/github/cottonmc/templates/TemplatesClient.java @@ -1,9 +1,9 @@ package io.github.cottonmc.templates; +import io.github.cottonmc.templates.model.SlopeBaseMesh; import io.github.cottonmc.templates.model.UnbakedAutoRetexturedModel; import io.github.cottonmc.templates.model.UnbakedJsonRetexturedModel; import io.github.cottonmc.templates.model.UnbakedMeshRetexturedModel; -import io.github.cottonmc.templates.model.SlopeBaseMesh; import net.fabricmc.api.ClientModInitializer; import net.fabricmc.fabric.api.blockrenderlayer.v1.BlockRenderLayerMap; import net.fabricmc.fabric.api.client.model.ModelLoadingRegistry; diff --git a/src/main/java/io/github/cottonmc/templates/TemplatesModelProvider.java b/src/main/java/io/github/cottonmc/templates/TemplatesModelProvider.java index 65c232f..db7bac6 100644 --- a/src/main/java/io/github/cottonmc/templates/TemplatesModelProvider.java +++ b/src/main/java/io/github/cottonmc/templates/TemplatesModelProvider.java @@ -2,7 +2,6 @@ package io.github.cottonmc.templates; import io.github.cottonmc.templates.model.TemplateAppearanceManager; import net.fabricmc.fabric.api.client.model.ModelProviderContext; -import net.fabricmc.fabric.api.client.model.ModelProviderException; import net.fabricmc.fabric.api.client.model.ModelResourceProvider; import net.fabricmc.fabric.api.client.model.ModelVariantProvider; import net.minecraft.client.render.model.UnbakedModel; diff --git a/src/main/java/io/github/cottonmc/templates/block/TemplateDoorBlock.java b/src/main/java/io/github/cottonmc/templates/block/TemplateDoorBlock.java index 9eafe74..953f85c 100644 --- a/src/main/java/io/github/cottonmc/templates/block/TemplateDoorBlock.java +++ b/src/main/java/io/github/cottonmc/templates/block/TemplateDoorBlock.java @@ -3,7 +3,12 @@ package io.github.cottonmc.templates.block; import com.google.common.base.MoreObjects; import io.github.cottonmc.templates.Templates; import io.github.cottonmc.templates.api.TemplateInteractionUtil; -import net.minecraft.block.*; +import net.minecraft.block.Block; +import net.minecraft.block.BlockEntityProvider; +import net.minecraft.block.BlockSetType; +import net.minecraft.block.BlockState; +import net.minecraft.block.DoorBlock; +import net.minecraft.block.ShapeContext; import net.minecraft.block.entity.BlockEntity; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.player.PlayerEntity;