Skip to content

Commit

Permalink
Update and rename glowing_entities.java to glowing_entities_mixin.java
Browse files Browse the repository at this point in the history
  • Loading branch information
I-No-oNe authored Nov 27, 2023
1 parent b07566c commit 530cabd
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
package net.i_no_am.glowing_entities.mixins;
package net.i_no_am.glowing_entities.mixin;

import net.minecraft.client.render.entity.EntityRenderer;
import net.minecraft.entity.Entity;
import net.minecraft.util.math.BlockPos;
import org.spongepowered.asm.mixin.Mixin;
import org.spongepowered.asm.mixin.injection.At;
import org.spongepowered.asm.mixin.injection.Inject;
import org.spongepowered.asm.mixin.injection.callback.CallbackInfoReturnable;

@Mixin(glowing_entities.class)
public abstract class glowing_entities {
@Mixin(glowing_entities_mixin.class)
public abstract class glowing_entities_mixin {

@Inject(method = "getBlockLight", at = @At("RETURN"), cancellable = true)
public <T extends Entity> void getLight(T entity, BlockPos pos, CallbackInfoReturnable<Integer> cir) {
Expand Down

0 comments on commit 530cabd

Please sign in to comment.