All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Endrous Edibles

Endrous Edibles

by Unknown • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

Inspired by Dimensional Edibles, this mod is the perfect solution for data pack creators and mod authors alike for transporting players to preset locations or dimensions via food.

Want to make potatoes teleport you to the End? Sure, here's the JSON file:

{
  "edible": {
    "item": "minecraft:potato"
  },
  "rules": [
    {
      "from": [
        "!minecraft:the_end"
      ],
      "destinations": {
        "fountain": {
          "pos": [0, 100, 0],
          "world": "minecraft:the_end"
        }
      }
    }
  ]
}

Oh, you want to use code instead? I got you:

Edible edible = EdibleBuilder.create()
        .edible(Ingredient.ofItems(Items.POTATO))
        .addRule(RuleBuilder.create()
                .addSource(new Identifier("minecraft:the_end"), false)
                .addDestination("fountain", DestinationBuilder.create()
                        .world(World.END)
                        .location(0, 100, 0)
                        .build())
                .build())
        .build(new Identifier("example:end_potato"));

EndrousEdiblesAPI.registerEdible(edible);

Notes

  • You don't have to use this for food. At its core, this is a teleportation engine. There are both API methods and a command for retrieving and triggering edibles on players.
  • This example is very straightforward, but edibles' control flow can quickly become complex. I recommend reading the wiki—don't worry, it's light—before creating anything.
  • This mod was created for Atlas Greece.

License

MIT © 2022 spadeteam

How to Install Endrous Edibles (Mod)

Endrous Edibles by Unknown is verified for Fabric, Quilt across Minecraft versions 1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1 (latest release: 1.1.0+1.20, file size: 55 KB). Follow the steps below to install it safely from ModCraft.tv:

  1. Click the Download button above and select your Minecraft version (1.19, 1.19.1, 1.19.2, 1.19.3, 1.19.4, 1.20, 1.20.1) and platform (Fabric, Quilt).
  2. Make sure you have the compatible loader or environment installed for Fabric, Quilt.
  3. Move the downloaded Endrous Edibles file into your Minecraft .minecraft/mods folder and launch the game.

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.20.x
Fabric Quilt
last yr. 1
1.19.x
Fabric Quilt
last yr. 1
1.19.x
Fabric Quilt
last yr. 1
1.19.3
Fabric Quilt
last yr. 1
1.19.x
Fabric Quilt
last yr. 1
[1.1.0+1.20] 1.1.0 by Unknown on Jul 01, 2023
Download
  • Updated to 1.20
[1.1.0+1.19.3] 1.1.0 by Unknown on Jan 29, 2023
Download
  • See 1.19 changelog*
[1.1.0+1.19] 1.1.0 by Unknown on Jan 29, 2023
Download
### Features

  • New location type: mirror; no change to the player's X and Z but chooses a new Y based on the topmost block at the target position

### API

  • Exposed LocationType
  • Refactored destinations a bit to make it easier to add new location types
  • New method to provide a dynamic BlockPos with world and player context parameters
[1.0.0+1.19.3] 1.0.0 by Unknown on Jan 27, 2023
Download
  • Initial version on 1.19.3
[1.0.0+1.19] 1.0.0 by Unknown on Jan 27, 2023
Download
  • Initial version on 1.19 to 1.19.2
Endrous Edibles Icon
Download Endrous Edibles
Select game version
Select platform