Skip to content

Commit

Permalink
removed unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
CammiePone committed Nov 9, 2024
1 parent 4fae37c commit ed36d8a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package dev.upcraft.sparkweave.api.client.render;

import com.mojang.blaze3d.vertex.PoseStack;
import net.minecraft.client.model.Model;
import net.minecraft.client.renderer.MultiBufferSource;
import net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider;
import net.minecraft.world.item.ItemStack;
Expand All @@ -22,9 +21,6 @@ public BlockEntityRendererProvider.Context blockEntityContext() {

public abstract void renderBook(LecternBlockEntity lecternBlockEntity, BlockState blockState, ItemStack itemStack, float partialTick, PoseStack poseStack, MultiBufferSource bufferSource, int packedLight, int packedOverlay);

@Nullable
public abstract Model getBookModel();

@FunctionalInterface
public interface Factory {
@Nullable LecternItemRenderer create(BlockEntityRendererProvider.Context context);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
import com.mojang.blaze3d.vertex.PoseStack;
import com.mojang.math.Axis;
import dev.upcraft.sparkweave.api.client.render.LecternItemRenderer;
import net.minecraft.client.model.Model;
import net.minecraft.client.renderer.MultiBufferSource;
import net.minecraft.client.renderer.blockentity.BlockEntityRendererProvider;
import net.minecraft.world.item.ItemDisplayContext;
import net.minecraft.world.item.ItemStack;
import net.minecraft.world.level.block.entity.LecternBlockEntity;
import net.minecraft.world.level.block.state.BlockState;
import org.jetbrains.annotations.Nullable;

public class DiamondLecternRenderer extends LecternItemRenderer {
public DiamondLecternRenderer(BlockEntityRendererProvider.Context context) {
Expand All @@ -29,10 +27,4 @@ public void renderBook(LecternBlockEntity lecternBlockEntity, BlockState blockSt

poseStack.popPose();
}

@Nullable
@Override
public Model getBookModel() {
return null;
}
}

0 comments on commit ed36d8a

Please sign in to comment.