promotional bannermobile promotional banner

Rift Gun

A sci-fi portal gun mod that lets you create and customize linked portals for fast travel.
Back to Files

riftgun-0.1.0-beta.5.jar

File nameriftgun-0.1.0-beta.5.jar
Uploader
H3lic0pterH3lic0pter
Uploaded
Aug 15, 2026
Downloads
87
Size
1.1 MB
Mod Loaders
NeoForge
File ID
8653020
Type
B
Beta
Supported game versions
  • 1.21.1

Curse Maven Snippet

NeoForge

implementation "curse.maven:rift-gun-1648112:8653020"

Learn more about Curse Maven

What's new

Rift Gun 0.1.0-beta.5

The fifth public beta of Rift Gun, adding datapack-tagged special-entity transit and Entity Relocation support for falling blocks, primed TNT, and experience orbs, alongside rendering fixes for the Portal Gun item model.

Highlights

  • Falling blocks, primed TNT, and experience orbs can now cross portals and be relocated through Entity Relocation.
  • Fast-moving entities use swept collision so they cannot skip a portal face.
  • Added datapack entity-type tags for extending or restricting portal transit and Entity Relocation.
  • Fixed a see-through artifact on the Portal Gun item model caused by the zero-point core rendering opaque inside the translucent fuel tube.
  • Simplified the Portal Gun item model by removing interior glass faces.

Details

Special-Entity Transit

  • Falling blocks, primed TNT, and experience orbs are enabled for both ordinary portal transit and Entity Relocation through built-in entity-type tags.
  • Falling blocks and primed TNT additionally use swept collision, so high-speed movement cannot skip a portal face. This runtime check can be disabled with the server setting specialEntityTransit.enableSweptCollision without disabling ordinary trigger-box transit.

Datapack Tags

Modpacks can extend or restrict the feature with datapack entity-type tags. Deny tags take precedence over built-in behavior and allow tags, while portal transit and Entity Relocation policy remain independent:

#riftgun:portal_transit_allowed
#riftgun:portal_transit_denied
#riftgun:portal_transit_swept
#riftgun:entity_relocation_allowed
#riftgun:entity_relocation_denied
  • Tagged mod entities use Minecraft's generic entity teleportation, preserving vanilla-managed entity data and timers.
  • Entity Relocation charges unfamiliar tag-only entities at the configurable utility multiplier.
  • Compatibility still depends on the entity supporting Minecraft's normal cross-dimension teleport contract.

Rendering

  • The zero-point core inside the fuel tube is now rendered translucent instead of fully opaque, fixing a see-through artifact that appeared when the camera moved around the gun.
  • Removed four interior glass faces and the zero_core texture alias from the Portal Gun item model, reducing translucent overdraw with no visible change to the exterior.

Requirements

  • Minecraft 1.21.1
  • NeoForge 21.1.140+
  • Java 21
  • The same Rift Gun version must be installed on both the client and server.

There are no required runtime dependencies other than NeoForge. JEI and RyoamicLights integrations remain optional and are not bundled in the release JAR.

Beta Notice

This is a beta release. Back up your worlds before upgrading.

This mod has no additional files