#a mod that whenever theres a bunny, it glows the bunny.
84 messages · Page 1 of 1 (latest)
glows the bunny?
bunny esp
hmm, passivemob esp might be decent. you can already do this using subtitles with the < and >
?
basically justifying the esp as non-hacks due to the fact that vanilla already gives nearly the same functionality with subtitles
!!hacks
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
because of this ^^
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
most minimap mods also allow showing mobs on them. you should be able to see them that way
yeah but the thing is i dont like using minimaps
i feel like they decrease alot of my fps
i cant see this as a hack really given that maps etc show this stuff
can someone make a mod that does that
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)
I mean the other option is a server-side mod that does the same thing. That's how you "prevent" cheats :P
Or they just take this Mixin now lol and don't care about it
help
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
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
Why not have the bunny apply the glow effect with infinite duration on spawn?
I guess more/less efficient, but I have no idea what would be what in this case. Probably yours since it won't be ticking
Sorry for the necro 💀
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
Ah, yea that's a good point I never considered
Well you can just override isGlowing
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
No you can just override it in the bunny class?
and for entities that extend the bunny class and override the method?
Do any?
who knows, i dont know of every mod in existence
Well in that case you would need crazy asm action to do it in my way
why bother with crashing when mods are involved instead of simple render tricks?
But if a mod wants to override the isGlowing method, it propably has a good reason
like a killer rabbit that glows for 10 seconds after every kill?
That was just my thought on how it could be done easily ¯_(ツ)_/¯
yeah, it could be done that way if the environment is simple, but you run the risk of mod compatibility
use clientsided commands it comes with /cglow
bro i love you this saved sanity
can you set the color of it?
and can you make blocks glow?
@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
no, they wacky / hacky way i did it is by spawning a magma cube or a shulkerbox entity with glow on it
you can use WorldRenderEvents.LAST event to render things during world rendering, for example you can outline or "glow" blocks of a given type
I want to mess with decompiled 1.20.4
I don’t know how
Like MCP stuff
https://fabricmc.net/develop/template/ download a template
run ./gradlew genSource in the folder you extract it to
Wait
Wait
What
Wait so fabric is like MCP?
if so I could make my dream worldborder + distance effect patching mod
fabric lets you use mixins to modify minecraft source code
I’ve never made a mod that involves a modloader before
So set it up, decompile, edit and done?
The done step involves extra stuff like recompiling and all of that
setup, decompile, look for things to change, make mixin classes to make those changes, build
For the mixin step I have no idea what to even do
yeah that happens
what are you trying to do
The main thing that I want to do is modify a few values and float -> double
uh