Remove vestigial item and object fields from BarrelMaterial

This commit is contained in:
thedarkcolour 2024-02-21 15:07:06 -08:00
parent da45606348
commit b3efa3a07c
2 changed files with 0 additions and 6 deletions

View File

@ -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<BarrelBlock> block;
private RegistryObject<BlockItem> item;
BarrelMaterial(SoundType soundType, float strength, boolean needsCorrectTool, boolean fireproof, int mapColor, String requiredModId, boolean transparent) {
super(soundType, strength, needsCorrectTool, mapColor, requiredModId);

View File

@ -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;