Links
Tags
Creators
Details
Licensed MIT
Published last week
Updated 1 hour ago
All versions
1.0.0-beta.15-forge
Beta
Diegesis 1.0.0-beta.15 (Forge)3 days ago 1,057
Compatibility
Minecraft: Java Edition
1.20.1
Platform
Forge
Supported environments
Client and server
Changes
Added
Diegesis.addListener: a mod can watch any station, its own or another mod's, hear what players do there and refuse it.DiegesisClient.addBehavior: client code added to any station beside its own behaviour, for one station type or all of them.StationView.isShiftDown(): whether shift is held, as the station's own clicks see it.- Effect files (
diegesis/effects/*.json): particles, a sound, a flash of light, a shake, a node's emitter or ripples, played by id anywhere. - Particle style files (
diegesis/particles/*.json), with every field of the builder. - Scene option
feedback.sounds, and the same on a node: swap, change or silence each of the library's own sounds. - Scene option
feedback.reactions: play an effect when something happens in the scene, written in the scene file alone. StationView.shareEffectand shared reactions: an effect played on one client is seen by everyone near the station.StationListener.onEffecthears every effect played at a station.- Scene events
Impact,LandedandFellOfffrom the placing physics,StreamLandedwhere a stream of liquid lands, andSubmergewhen a carried thing goes under a liquid. - Scene option
feedback.impact_min_speed: how hard placed things must knock together to count. - Scene option
clear_view.surface: "placing"keeps the placing surfaces in view, so an open drawer no longer hides the block on top of it. - Node option
feedback.marksand the eventsExposedandItemContact: a carried thing or the held stack put into fire or liquid is reported. - Scene options
placing.physics.push_out,wakeandfall_ease.
Changed
- The network format changed: client and server need the same Diegesis.
SceneEventgains new events in this version: aswitchover it needs adefaultbranch.- Placed things fall at real speed:
placing.physics.gravityis 157 by default,200gives the old fall. - Heaps of placed things come to rest and stay there: no more jumping, spinning or creeping, and things put inside each other glide apart.
- Putting a thing down or taking one wakes only what it touches (
wake: near);wake: allkeeps the old way. - A pile rides its base when the hand moves the base; when the base only settles or is knocked, what stands on it comes to rest by the physics instead of being carried into its neighbours.
Fixed
- A block that another mod opens its own screen for (Amendments' lectern) no longer flies the camera back behind that screen.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:pyljrXOa:adhKLV3K"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:pyljrXOa:adhKLV3K"
}

