tModLoader

tModLoader

95 ratings
[OBSOLETE] Webmilio's Commons Library
   
Award
Favorite
Favorited
Unfavorite
Mod Features: Library
Mod Side: Both
File Size
Posted
Updated
703.018 KB
8 Sep, 2021 @ 10:23am
20 Sep, 2022 @ 11:23am
16 Change Notes ( view )

Subscribe to download
[OBSOLETE] Webmilio's Commons Library

Description
Replaced by https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2974201361

Webmilio's Commons Library adds a couple of things I use in all of my mods. You can extract the DLL from the Mod.
Discord : https://discord.gg/rpXFHD3E9K

THE 1.4 IS A HEAVY ALPHA THAT HAS kinda been tested and it seems to work so far.
Anything related to Worlds has been disabled.
Had to remove the Network methods for Reading/Writing items since the good people at tMod thought it wise to remove the method �\_(^.^)_/�.

Things this adds:
- Tags for Mods when uploading them.
- Better Networking (in my opinion, at least).
- Loaders (manual or singletons that handle loading all found classes within the Terraria assembly, including mods)
- A bunch of extensions
- Keyboard Manager: get the state of any keys (NotPressed, JustPressed, Pressed, JustReleased), regardless of Mod Hotkey.
- Effects: screenshake (multiplayer compatible), easy shaders
- Math/Vector stuffs: velocity vector to point/mouse, checking if a point is inside a triangle/rectangle (since you can't with normal rectangles)
- Dependency Injection container: SimpleServices class coupled with [Service] attribute allows for simple class decoupling.

Other Utilities:
- Class which allows you to quickly create a tile-placing item once extended.

Credits (Team Members)
- Blockaroz3349:
* Easy shader code cause I suck at doing them
- "Stupid person with good ideas" who sometimes came up with good ideas but also stupid ones

Special Thanks
- Kazzymodus: being a gamer and hand-holding me with shaders until I understood them.
31 Comments
Webmilio  [author] 24 Jan, 2024 @ 10:38am 
Yea if you don't use it you don't need to keep it enabled.
libero2711 24 Jan, 2024 @ 5:00am 
at least disable it, man
slotrocket 23 Jan, 2024 @ 6:34pm 
do i have to bother with unsubbing from this mod or can i just leave it on my list
Chronozor 19 Sep, 2023 @ 8:00pm 
can you add support for 1.4.4
libero2711 8 Sep, 2023 @ 7:47am 
real weird stuff, :OkaySir:
Webmilio  [author] 8 Sep, 2023 @ 7:30am 
No prob
libero2711 8 Sep, 2023 @ 5:08am 
yup, i downloaded webcom and the pylon mod and now it simply works, it for sure wasnt your fault and i dont really know what to call it but this mod appeared to somehow "corrupt?" my game and the only way to get rid of it was manual deletion within the mod folder, lol, really weird stuff but im glad its working now, thanks for the help
libero2711 8 Sep, 2023 @ 5:05am 
didnt change anything, so inside that very same folder i manually deleted your mod (despite me already unsubscribing from it on here) and now it.. worked..
this is really weird and i dont understand why it only happened with your mod, since its now working im gonna try downloading the new version and the cell phone pylon mod again and ill let you know if it works
Webmilio  [author] 7 Sep, 2023 @ 7:18pm 
Check in your Mods folder and delete the file called enabled.json.
libero2711 7 Sep, 2023 @ 11:57am 
im assuming its because of the recent turmoil regarding 1.4.3 and 1.4.4 and changes and whatnot, so im just gonna wait until everything stabilizes, but yeah, super weird, cant even properly "open" the game