Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
GamingCrew69 committed Oct 27, 2023
1 parent 3ad7f39 commit 7acdeb7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
12 changes: 4 additions & 8 deletions src/main/java/com/quizer9o8/strata/Strata.java
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,20 @@

import com.quizer9o8.strata.list.BlockList;
import com.quizer9o8.strata.list.ItemList;

import net.minecraft.tags.BlockTags;
//import net.minecraft.data.tags.BlockTagsProvider;
import net.minecraft.world.item.CreativeModeTab;
import net.minecraft.resources.ResourceLocation;
//import net.minecraft.resources.ResourceLocation;
import net.minecraft.world.item.ItemStack;
//import net.minecraftforge.common.Tags;
import net.minecraftforge.eventbus.api.IEventBus;
import net.minecraftforge.eventbus.api.SubscribeEvent;


//import net.minecraftforge.eventbus.api.SubscribeEvent;
import net.minecraftforge.fml.common.Mod;
import net.minecraftforge.fml.event.lifecycle.FMLClientSetupEvent;
import net.minecraftforge.fml.event.lifecycle.FMLDedicatedServerSetupEvent;
import net.minecraftforge.fml.javafmlmod.FMLJavaModLoadingContext;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;



// @Mod tells everything this is the main class.
@Mod(Strata.MOD_ID)
@Mod.EventBusSubscriber(modid = Strata.MOD_ID, bus = Mod.EventBusSubscriber.Bus.MOD)
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/com/quizer9o8/strata/list/BlockList.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class BlockList
/*Igneous Rocks*/

//Aa
public static final RegistryObject<Block> AA = BLOCKS.register("aa", () -> new Block(Block.Properties.of(Material.STONE).sound(SoundType.STONE).requiresCorrectToolForDrops().requiresCorrectToolForDrops().destroyTime(1.5f).explosionResistance(6.0f)));
public static final RegistryObject<Block> AA = BLOCKS.register("aa", () -> new Block(Block.Properties.of(Material.STONE).sound(SoundType.STONE).requiresCorrectToolForDrops().destroyTime(1.5f).explosionResistance(6.0f)));
public static final RegistryObject<Block> AA_SLAB = BLOCKS.register("aa_slab", () -> new SlabBlock(Block.Properties.copy(AA.get())));
public static final RegistryObject<Block> AA_STAIRS = BLOCKS.register("aa_stairs", () -> new StrataStairsBlock(AA.get().defaultBlockState(), Block.Properties.copy(AA.get())));
public static final RegistryObject<Block> AA_WALL = BLOCKS.register("aa_wall", () -> new WallBlock(Block.Properties.copy(AA.get())));
Expand Down
1 change: 0 additions & 1 deletion src/main/java/com/quizer9o8/strata/list/ItemList.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import net.minecraftforge.registries.DeferredRegister;
import net.minecraftforge.registries.ForgeRegistries;


public class ItemList
{
public static final DeferredRegister<Item> ITEMS = DeferredRegister.create(ForgeRegistries.ITEMS, Strata.MOD_ID);
Expand Down

0 comments on commit 7acdeb7

Please sign in to comment.