Skip to content

Commit

Permalink
:(:(
Browse files Browse the repository at this point in the history
  • Loading branch information
Yoghurt4C committed Jun 15, 2021
1 parent e3cce6b commit 5b09ebb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ loader_version=0.11.3

fabric_version=0.35.0+1.17

mod_version = 1.1.12
mod_version = 1.1.14
archives_base_name = LilTaterReloaded

mod_menu_version=2.0.2
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@
@Environment(EnvType.CLIENT)
@Mixin(BuiltinModelItemRenderer.class)
public abstract class LilTaterModelItemRendererMixin {
private final MinecraftClient mc = MinecraftClient.getInstance();

@Unique
private LilTaterBlockEntity ltr_DUMMYTATER;

Expand All @@ -40,6 +38,7 @@ public abstract class LilTaterModelItemRendererMixin {
@Inject(method = "render", at = @At(value = "INVOKE_ASSIGN", target = "Lnet/minecraft/item/BlockItem;getBlock()Lnet/minecraft/block/Block;"), locals = LocalCapture.CAPTURE_FAILHARD, cancellable = true)
public void renderLilTaterBlockItem(ItemStack stack, ModelTransformation.Mode mode, MatrixStack matrices, VertexConsumerProvider vcon, int light, int overlay, CallbackInfo ctx, Item item, Block block) {
if (block instanceof LilTaterBlock) {
final MinecraftClient mc = MinecraftClient.getInstance();
if (stack.hasTag()) {
NbtCompound tag = stack.getTag();
if (ltr_taterItemRendererCache.get(tag) != null) {
Expand Down

0 comments on commit 5b09ebb

Please sign in to comment.