tyon2006 / MMO---Here-We-Go-

MIT License
1 stars 0 forks source link

review attributes mod #262

Open tyon2006 opened 2 years ago

tyon2006 commented 2 years ago

https://www.curseforge.com/minecraft/mc-mods/attributes/files

tyon2006 commented 1 year ago

image

tyon2006 commented 1 year ago

This mod is a non-starter. It cannot be extended to other traits.

However, this made me look at the code for the method again that changes breakspeed. So far its still broke AF, but if kindlich pulls through with a fix, we're in business.

bawls9.getBreakSpeed = function(event as crafttweaker.event.PlayerBreakSpeedEvent) { if (event.isCanceled()) { return; } if (event.block has .asBlock()) { print("og originalSpeed getter:"); print(event.originalSpeed); print("og newSpeed getter:"); print(event.newSpeed); val editedSpeed = event.originalSpeed * 0.5; event.newSpeed = editedSpeed; print("new newSpeed:"); print(event.newSpeed); } };

tyon2006 commented 1 year ago

https://docs.blamejared.com/1.12/en/Mods/CompatSkills/Supports/Reskillable/CustomTraits/Events/onBreakSpeed