#a mod that whenever theres a bunny, it glows the bunny.

84 messages · Page 1 of 1 (latest)

barren anvil
#

the title

slate niche
#

glows the bunny?

tight pier
#

bunny esp

rocky surge
#

hmm, passivemob esp might be decent. you can already do this using subtitles with the < and >

barren anvil
#

?

rocky surge
#

basically justifying the esp as non-hacks due to the fact that vanilla already gives nearly the same functionality with subtitles

#

!!hacks

shrewd badgerBOT
#

We do not support hacked clients, cheats, or modifications that are intended to give you the upper hand in a server, competitive or otherwise.
See rule 1 in #welcome and the Discord TOS: https://discordapp.com/terms

rocky surge
#

because of this ^^

barren anvil
#

so its allowed

#

also if it cant like forever find the bunny can you make it so that after you hear a bunny hiss, it glows

#

like not from the bunny it self

#

like if someone did /playsound

rocky surge
#

most minimap mods also allow showing mobs on them. you should be able to see them that way

barren anvil
#

yeah but the thing is i dont like using minimaps

#

i feel like they decrease alot of my fps

slate niche
#

i cant see this as a hack really given that maps etc show this stuff

barren anvil
#

can someone make a mod that does that

rocky surge
#

if someone feels like doing so, should be able to just throw this mixin into a mod

@Mixin(MinecraftClient.class)
public class EnableGlowingMobMixin {
    @ModifyReturnValue(at=@At("RETURN"),method="hasOutline")
    private boolean outlineMob(boolean original, Entity entity) {
        return original || entity.getType().equals(EntityType.RABBIT);
    }
}
#

(this uses mixin extras, you can change it to an inject at return with a cir.setReturnValue)

supple cosmos
#

I mean the other option is a server-side mod that does the same thing. That's how you "prevent" cheats :P

quick hill
#

Or they just take this Mixin now lol and don't care about it

barren anvil
#

help

quick hill
#

IG I once again put this here

#

!!hacks

shrewd badgerBOT
#

We do not support hacked clients, cheats, or modifications that are intended to give you the upper hand in a server, competitive or otherwise.
See rule 1 in #welcome and the Discord TOS: https://discordapp.com/terms

rocky surge
# quick hill !!hacks

i would say its not any more hacky than a minimap mod (which is allowed and supported) or emissive textures for ores (also allowed)

#

no need to keep posting when it is clearly not any worse than the existing, already allowed, stuff

stray linden
#

Sorry for the necro 💀

rocky surge
#

mainly because the server can update the entity's glow status, and since this is clientside, its easier to just bypass server updating and entity flags completely

stray linden
#

Ah, yea that's a good point I never considered

rotund gull
#

Well you can just override isGlowing

rocky surge
#

override isGlowing in what class? Entity? sure, i could, but rather than worry about mod implementation details causing custom rabbits not to glow due to their override, easier to avoid that as well

rotund gull
rocky surge
#

and for entities that extend the bunny class and override the method?

rotund gull
#

Do any?

rocky surge
#

who knows, i dont know of every mod in existence

rotund gull
#

Well in that case you would need crazy asm action to do it in my way

rocky surge
#

why bother with crashing when mods are involved instead of simple render tricks?

rotund gull
#

But if a mod wants to override the isGlowing method, it propably has a good reason

rocky surge
#

like a killer rabbit that glows for 10 seconds after every kill?

rotund gull
rocky surge
#

yeah, it could be done that way if the environment is simple, but you run the risk of mod compatibility

stray linden
#

It's theoretical

#

lol

old grail
#

use clientsided commands it comes with /cglow

leaden mesa
strong pasture
strong pasture
#

and can you make blocks glow?

leaden mesa
# strong pasture can you set the color of it?
@Mixin(net.minecraft.entity.Entity.class)
public abstract class Entity {

    @Shadow
    protected UUID uuid;
    @Shadow
    @Final
    private EntityType<?> type;

    @ModifyReturnValue(at = @At("RETURN"), method = "getTeamColorValue")
    private int collide(int original) {

        if (type == EntityType.SHULKER) {

            var selection = Selection.INSTANCE.getSelectionGlowEntities().get(this.uuid);
            if (selection == null) return original;

            var color = selection.getColor();
            return color != null ? color.getRgb() : original;
        }

        return original;
    }
}
#

this is not the code but this is wat i used you have to modify it to your liking

leaden mesa
rocky surge
#

you can use WorldRenderEvents.LAST event to render things during world rendering, for example you can outline or "glow" blocks of a given type

coral siren
#

I don’t know how

#

Like MCP stuff

rocky surge
coral siren
#

Wait

#

Wait

#

What

#

Wait so fabric is like MCP?

#

if so I could make my dream worldborder + distance effect patching mod

rocky surge
#

fabric lets you use mixins to modify minecraft source code

coral siren
#

I’ve never made a mod that involves a modloader before

rocky surge
coral siren
#

So set it up, decompile, edit and done?

#

The done step involves extra stuff like recompiling and all of that

rocky surge
#

setup, decompile, look for things to change, make mixin classes to make those changes, build

coral siren
visual inlet
#

what are you trying to do

rocky surge
coral siren
#

Oh I see

#

I think I get it

rocky surge
visual inlet
#

mixins are hard

#

but they're very useful

coral siren
#

The main thing that I want to do is modify a few values and float -> double

visual inlet
#

wait are you still trying to make a bunny glow

#

or is this totally different

coral siren
#

Oops

visual inlet
#

uh