Description
Mod Description: Floating Cargo
This mod adds an entity named Box (Crate) that spawns on the water surface. This mod is specifically designed for playthroughs set in ocean-only worlds.
Features and Compatibility
- Generation: The entity uses a custom spawn procedure to ensure it only appears on clear water surfaces.
- Compatibility: The mod is compatible with all other terrain and biome generation mods.
- Behavior: The entity features flotation physics and moves according to water currents. It does not have any attack AI or land movement capabilities.
Loot Probabilities (Loot Table)
Each destroyed crate drops between 2 and 4 items. The percentages below represent the selection probability for each slot (roll), based on a total weight of 54.
|
Category |
Item |
Probability |
Quantity |
|---|---|---|---|
|
Basic Resources |
Rotten Flesh |
9.26% |
1 |
|
|
Spider Eye |
7.41% |
1 |
|
|
String |
5.56% |
2 |
|
|
Stick |
5.56% |
1 - 2 |
|
|
Seagrass |
5.56% |
1 |
|
Materials |
Oak Planks |
3.70% |
0 - 3 |
|
|
Cobblestone |
3.70% |
0 - 2 |
|
|
Charcoal |
3.70% |
0 - 2 |
|
|
Iron Nugget |
3.70% |
0 - 3 |
|
|
Gold Nugget |
3.70% |
0 - 2 |
|
Flora |
Brown Mushroom |
3.70% |
1 |
|
|
Red Mushroom |
3.70% |
1 |
|
|
Tree Saplings (6 types) |
1.85% (each) |
1 |
|
|
Sugar Cane |
1.85% |
1 |
|
|
Carrot |
1.85% |
1 |
|
|
Potato |
1.85% |
1 |
|
|
Wheat Seeds |
1.85% |
1 |
|
|
Sea Pickle |
1.85% |
1 |
|
|
Dead Bush |
1.85% |
1 |
|
Special |
Cooked Salmon |
3.70% |
1 - 2 |
|
|
Cooked Cod |
3.70% |
1 - 2 |
|
|
Fishing Rod |
1.85% |
1 |
|
|
TNT |
1.85% |
0 - 1 |
|
|
Deepslate |
1.85% |
0 - 1 |
Configuration :
[spawn_distances]
#Minimum spawn distance in chunks (1 chunk = 16 blocks)
#Range: 1 ~ 100
minSpawnDistanceChunks = 3
#Maximum spawn distance in chunks
#Range: 1 ~ 100
maxSpawnDistanceChunks = 20
#Minimum distance between two boxes (in blocks)
#Range: 5 ~ 200
minBoxDistance = 20
[spawn_frequency]
#Interval between spawn attempts in ticks (20 ticks = 1 second)
#Range: 20 ~ 12000
spawnIntervalTicks = 200
#Maximum number of spawn attempts per interval
#Range: 1 ~ 100
maxSpawnAttempts = 30
[box_quantity]
#Chance to have 1 box (out of 100)
#Range: 0 ~ 100
chanceOneBox = 75
#Chance to have 2 boxes (out of 100, calculated after chanceOneBox)
#Range: 0 ~ 100
chanceTwoBoxes = 20
#Chance to have 3 boxes (remaining probability)
#Range: 0 ~ 100
chanceThreeBoxes = 5
[spawn_conditions]
#Minimum water depth required for spawning (in blocks)
#Range: 1 ~ 50
minWaterDepth = 5
#Minimum Y height of the water surface
#Range: -64 ~ 320
minWaterSurfaceY = 60
#Sky check height above water (in blocks)
#Range: 1 ~ 50
skyCheckHeight = 10
[biomes]
#If true, uses allowedBiomes/allowedBiomeTags as a whitelist.
#If false, all areas are allowed except blockedBiomes/blockedBiomeTags
useBiomeWhitelist = false
#List of allowed biomes (format: minecraft:ocean, minecraft:deep_ocean, etc.)
#Only works if useBiomeWhitelist = true
allowedBiomes = ["minecraft:ocean", "minecraft:deep_ocean", "minecraft:cold_ocean", "minecraft:deep_cold_ocean", "minecraft:lukewarm_ocean", "minecraft:deep_lukewarm_ocean", "minecraft:warm_ocean"]
#List of allowed biome tags (format: #minecraft:is_ocean, #forge:is_water, etc.)
#Only works if useBiomeWhitelist = true
allowedBiomeTags = ["#minecraft:is_ocean", "#minecraft:is_deep_ocean"]
#List of blocked biomes (format: minecraft:river, minecraft:frozen_ocean, etc.)
#Only works if useBiomeWhitelist = false
blockedBiomes = ["minecraft:frozen_ocean", "minecraft:deep_frozen_ocean"]
#List of blocked biome tags (format: #minecraft:is_river, etc.)
#Only works if useBiomeWhitelist = false
blockedBiomeTags = ["#minecraft:is_river"]
[dimensions]
#Enable spawning in the Overworld
enableInOverworld = true
#Enable spawning in the Nether
enableInNether = false
#Enable spawning in the End
enableInEnd = false
#List of allowed custom dimensions (format: modid:dimension_name)
allowedDimensions = []
[general]
#Completely enable/disable the automatic spawn system
enableSpawning = true
#Enable debug mode (shows messages in logs)
debugMode = false
