• For issues you find with the Switch and Console releases, please follow this link and give as much detail as possible. This is the speediest way to get info to Pipeworks and get a hotfix in the works.
  • For issues you find with the Mobile 1.3 update, please follow this link and give as much detail as possible. This is the speediest way to get info to DR Studios to look at your issue. Also, some troubleshooting hints here.

tModLoader Modder's Toolkit - a Mod for Modders doing Modding

jopojelly

Retinazer

Modder's Toolkit - a Mod for Modders doing Modding

Latest Download:
Mod Browser (in-game) - Direct link - Alt download link
Open source on GitHub
Discord:



This mod aims to provide useful tools to modders. I really hope this mod can grow to become extremely useful. It is open source on Github, so please feel free to add new tools. Future tools will help modders even more as they tweak their mods.

Current Tools:

C# REPL
REPL stands for "Read–eval–print loop". The C# REPL lets you type code statements during runtime. If you are familiar with the python interpreter, it's kinda like that. The REPL supports autocompletion and auto-suggestion by pressing the tab key. You can press up to edit the last statment run. Enter to run the statement. Copy, Cut, and Paste all work as well.​
Texture Automatic Update/Editing Tool
This tool watches your Mod Sources folder and automatically updates textures that are changed. This tool will greatly increase the speed of iterating on texture work and will also make it easier for spriters to focus on spriting. An alternate mode for this tool is specifying a specific texture, even a texture from another mod, which you can then edit and experiment with.

Hitbox Visualizer
Lets you visualize hitboxes on NPC, Projectiles, and Melee Weapons. Use this to double check your hitboxes.​

Item Defaults Tool
Experiment with item values to find the prefect useTime or damage.
NPC Spawn checker Tool
Runs spawn simulations and reports spawn rates for individual npc.

Dust Tool
Lets you visualize dust in all manner of ways.​
Projectile Spawner
Lets you spawn projectiles..
Why are these boomerangs acting like pets??​
Player Layer tool
Hide/Show player layers​
Interface Layer tool
Hide/Show interface layers​
UI Playground tool
Experiment with UIElements and learn how padding and positioning work - Video
Background tool
Learn how backgrounds work both surface and underground - Video
...more to come, especially if you help!
Planned Features:
  • WorldGen tools
  • Sound explorer/tester
  • Suggestions?
Changelog:
v0.12
  • Background Tool - Video
v0.11
  • UI Playground Tool - Video
v0.1.7
  • Texture Update/Editing Tool
v0.1.6.x
  • Pause/Freeze projectiles
  • Zoom support for hitboxes
v0.1.6
  • REPL
    • Better Multiline support
    • External Code Editor option
v0.1.5
  • Dust: Copy code to clipboard
v0.1.4
  • NPC Spawn rate tool
  • REPL
    • Tile Eyedropper
  • Hitbox
    • Visualize TEs
  • Items
    • Output ItemInfo
    • HoldoutOffser
v0.1.3.3
  • Player Layer tool
  • Interface Layer tool
  • Dust tool now has Dust Chooser
v0.1.3
  • Projectile Spawner.
v0.1.2.2
  • REPL available in server console now.
v0.1.2
  • Item Defaults tool added.
v0.1.1
  • Dust Tool added
v0.1
  • Initial Release
  • C# REPL - "Read–eval–print loop"
  • Hitbox Visualizer
 
Last edited:

imkSushi

Eater of Worlds
Brilliant. This will be so useful for me when I get back into modding again. Even when just playing, this will be fun to mess about with.
 

Lukas04

Official Terrarian
Wow this is great! i need to re-build my mod while testing much less in the future with this.
Also the tools in later Updates sound realy cool too
gj
 
Last edited:

Shahrom

Terrarian
WOW!
I THINK WE HAVE A WINNER!!!
(Jopojelly is best)
I'VE BEEN WAITING SO LONG AND SOMEONE (Jopojelly) FINALLY DID IT!!!!!!!!!!!!!!!!!!!!!!!!!!
*dies*
 

SpyderRabbit

Official Terrarian
It's just like coding in any other repl. Is the problem that you don't know c# very well? or is something just not working for you.
I don't know C# at all... sadly.
[doublepost=1492139759,1492139462][/doublepost]I'm trying to edit the pickaxe power and mining speed of the Drill Containment Unit. If that's even possible?
 

jopojelly

Retinazer
I don't know C# at all... sadly.
[doublepost=1492139759,1492139462][/doublepost]I'm trying to edit the pickaxe power and mining speed of the Drill Containment Unit. If that's even possible?
This mod is for modders to use for experimenting with code. It sounds like you want a mod that will tweak and persist item changes, this is not the mod you want.
 

jopojelly

Retinazer
v0.1.4 released.

With large content mods, it's pretty hard to figure out the correct spawn conditions for NPC. This release includes an npc spawn conditions tool that reports the percent of spawns to expect in the current player position.

I suggest all modders take advantage of this tool and identify NPCSpawn errors using it.

 
Top Bottom