Prototype: Physics
No reviews yet
A simple Physics library adding player Ragdolls.
Does not follow a specific thematic focus apart from vanilla Minecraft.
Used for mods with little to no gameplay elements.
Includes quality of life improvements and small tweaks to enhance and customize gameplay.
Provides a framework or library for other mods to use.
Forge is a popular mod loader for versions 1.1+ of Minecraft.
Community voices
Reviews
Click once to include, again to exclude, again to clear
No reviews yet. Be the first to review this project!
Get it on
Available Platforms
About
Project Details
For authors
Embed Badge
If you're the author of this project, you can embed a live badge anywhere that supports HTML or Markdown. It updates automatically whenever ratings change.
Use HTML for any page that supports it, or Markdown for README files and Markdown-based descriptions.
Identifiers
Platform IDs
Resources
External Links
About
Description
A simple Experimental Ragdoll library for Minecraft Player.
Uses Jbullet Physics engine.
Mod Adds following events for interacting with the Physics.
-
PlayerPartHitEvent
RagdollModeChangeEvent
RagdollClickEvent
Example Usage:
@SubscribeEvent
public static void onPPI(RagdollClickEvent event){
var player = event.getSource();
var part = event.getTarget();
System.out.printf("%s| %s| %s| %s",
player.getName().getString(),
part.getName().getString(),
event.getPartName(),
event.getContactPoint()
);
// e.g., apply damage, play sound, spawn particles, etc.
}
example for Applying velocities and Rotations:
@SubscribeEvent
public static void onRagdolClick(RagdollClickEvent event){
JbulletWorld jworld = JbulletWorld.get((ServerLevel)event.getSource().level());
PlayerPhysics playerPhysics = jworld.getPlayerPhys(event.getTarget());
playerPhysics.applyVel(RagdollPart.TORSO,new Vec3(0,4f,0));
}
@SubscribeEvent
public static void onRagdolClick(RagdollClickEvent event){
JbulletWorld jworld = JbulletWorld.get((ServerLevel)event.getSource().level());
PlayerPhysics playerPhysics = jworld.getPlayerPhys(event.getTarget());
playerPhysics.applyTorque(RagdollPart.TORSO,new Vec3(0,4f,0));
}
Screenshots
Gallery
Versions
Files
Relations
Project Relations
More like this
Similar Mods
Suggestions use data such as tags, dependencies, dependents, descriptions, titles, and more to rank how much they overlap with this mod.
On ModDex
Community snapshot
By the numbers
Statistics
Want to reach Minecraft players?
We're looking for a server hosting partner to feature here and other parts of the site. Interested? Send us a message!
Get in touchGet it on
Available Platforms
On ModDex
Community snapshot
By the numbers
Statistics
Resources