From b3efa3a07cf705f25a71de1117367dc1a118257c Mon Sep 17 00:00:00 2001 From: thedarkcolour <30441001+thedarkcolour@users.noreply.github.com> Date: Wed, 21 Feb 2024 15:07:06 -0800 Subject: [PATCH] Remove vestigial item and object fields from BarrelMaterial --- .../java/thedarkcolour/exdeorum/material/BarrelMaterial.java | 5 ----- .../thedarkcolour/exdeorum/material/MaterialRegistry.java | 1 - 2 files changed, 6 deletions(-) diff --git a/src/main/java/thedarkcolour/exdeorum/material/BarrelMaterial.java b/src/main/java/thedarkcolour/exdeorum/material/BarrelMaterial.java index ee9de639..d77c0ff5 100644 --- a/src/main/java/thedarkcolour/exdeorum/material/BarrelMaterial.java +++ b/src/main/java/thedarkcolour/exdeorum/material/BarrelMaterial.java @@ -18,10 +18,8 @@ package thedarkcolour.exdeorum.material; -import net.minecraft.world.item.BlockItem; import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.SoundType; -import net.minecraftforge.registries.RegistryObject; import org.jetbrains.annotations.Nullable; import thedarkcolour.exdeorum.block.BarrelBlock; @@ -36,9 +34,6 @@ public final class BarrelMaterial extends AbstractMaterial { // Whether fluids should be rendered with sides instead of just the top public final boolean transparent; - private RegistryObject block; - private RegistryObject item; - BarrelMaterial(SoundType soundType, float strength, boolean needsCorrectTool, boolean fireproof, int mapColor, String requiredModId, boolean transparent) { super(soundType, strength, needsCorrectTool, mapColor, requiredModId); diff --git a/src/main/java/thedarkcolour/exdeorum/material/MaterialRegistry.java b/src/main/java/thedarkcolour/exdeorum/material/MaterialRegistry.java index 1901a252..38e70594 100644 --- a/src/main/java/thedarkcolour/exdeorum/material/MaterialRegistry.java +++ b/src/main/java/thedarkcolour/exdeorum/material/MaterialRegistry.java @@ -26,7 +26,6 @@ import net.minecraft.world.level.block.Block; import net.minecraft.world.level.block.entity.BlockEntity; import net.minecraft.world.level.block.entity.BlockEntityType; import net.minecraftforge.data.loading.DatagenModLoader; -import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; import thedarkcolour.exdeorum.ExDeorum; import thedarkcolour.exdeorum.client.CompostColors;