Back to mods
Contraptions Are Safe project artwork

CurseForge · Minecraft mod

Contraptions Are Safe

"Contraptions Are Safe" attempts to keep riders of Create contraptions safe from being targeted by mobs.

Choose a version Pick your version below, then grab the matching file.

Quick answer

Which Contraptions Are Safe release should I use?

Updated 19 days ago
Latest stable file contraptions_are_safe-1.0.0.jar
Game version 1.20.1, 1.20
Loader Forge

Contraptions Are Safe contraptions_are_safe-1.0.0.jar targets 1.20.1, 1.20 with Forge. The project page does not say whether this file belongs on the client, dedicated server, or both. No extra mods listed for this file.

Where it goes

Is Contraptions Are Safe required on the client, server, or both?

The project page does not say whether this file belongs on the client, dedicated server, or both.

Client Source doesn’t say
Dedicated server Source doesn’t say
Loader for this release Forge
Required install it here Optional supported, not mandatory Not supported do not install here Source doesn’t say do not assume

The source does not explicitly classify this release as client-only or server-only.

What else does Contraptions Are Safe contraptions_are_safe-1.0.0.jar need?

contraptions_are_safe-1.0.0.jar. Change the file and its required mods may change too.

No extra mods listed for this file

This file does not list any required mods. Do not add a library just because a different file uses it.

This file does not list any required or optional mods.

Before you install it

Add Contraptions Are Safe without breaking your instance.

Built for Contraptions Are Safe contraptions_are_safe-1.0.0.jar. Pick another file and the loader, install side or required mods may change.

  1. 01

    Stick to this file

    Use contraptions_are_safe-1.0.0.jar. It targets 1.20.1, 1.20 with Forge; another release may have different loader, side or dependency requirements.

  2. 02

    Bring the mods it needs

    This file does not list any required mods. Do not add a library just because a different file uses it.

  3. 03

    Put it on the correct side

    The project page does not say whether this file belongs on the client, dedicated server, or both.

  4. 04

    Pick the file you checked

    Use the “Get this file” button beside contraptions_are_safe-1.0.0.jar. It opens that exact file at the source.

About this project

What does Contraptions Are Safe add?

"Contraptions Are Safe" attempts to keep riders of Create contraptions safe. It does this using a mixin for the TargetingConditions.test method, inserting a check if the target is riding a contraption.

Important Details

  • Currently, this mod is only available for Forge 1.20.1. There is an existing mod that covers 1.21.1.
  • This mod attempts to protect riders from the initial targeting only, and mobs will usually continue to track players after they mount a contraption. Depending on the other mods being used, the mob may follow without attacking, or it may attack the player.
  • Mobs from some mods use a different method for targeting and attacking players. The Mur Mur mob from Alex's Mobs is an example of a very aggressive and persistent mob that is not protected against.
  • In testing in vanilla, being spotted/targeted by a mob before mounting the contraption usually resulted in the mob following you but not attacking. An exception was a creeper that started the detonation sequence would finish the process and explode, even after the user mounted the contraption.
  • When testing in the huge mod pack Linggango, being seen before mounting the contraption resulted in the mob tracking you down and, in most cases, still attacking you. If you are on the contraption before it can see you, you will be effectively invisible to them. Keep in mind that some mobs can see you at extreme ranges.
  • Before release, I decided to expand the protections beyond players, to prevent mobs acting as conductors from being attacked.

Future Ideas

  • Excluding players on vehicles and seats from being included in calculation of sleeping players percent
  • Adding protection for players on elevators without using seats.

Additional Info

While I may have edited existing mods for private use by my friends and I, this is the first Minecraft mod I have made. I hope people find it useful and of sufficient quality. I look forward to learning more about modding (Basics and Forge Specifically) and implementing ideas I've had for years.

Versions

  • 1.0.0 - First release. Protecting riders of Create contraptions.

URLs

License

MIT

Disclaimer

"Robo-Reddit" (Gemini Chat LLM) was used to brainstorm, debug, and learn a crash course in minecraft modding, using the example template from the Forge MDK. While it presented examples, AI was not used to generate this source code.

Note, most of its suggested code and suggested fixes for bugs were incorrect or inefficient. It served more of a method for exploring ideas.

Project description from CurseForge.

Pick your setup

Contraptions Are Safe by Minecraft version and loader

Choose the version and loader you play, then open the matching release.

2 available setups

Check the dependencies, then try the file in a copied instance before changing a world you care about.

Recent files

Contraptions Are Safe versions and loaders

1 of 1 releases match

Looking for an older file? The official CurseForge project page is in Resources.