▶️ ЗАБЕРИ СВОИ 8 ПОДАРКОВ 🎁 ПРИ СОЗДАНИИ СВОЕГО МАЙНКРАФТ СЕРВЕРА
Моды/Blackhole
Blackhole

Blackhole

A Server Side Blackhole Mod That Follows You

7.2K
9

Black Hole Mod

A Minecraft mod that adds destructive, dynamic black holes to your world.

Overview

The Black Hole mod introduces a new block that creates a simulated black hole in your Minecraft world. These black holes have realistic gravitational effects, pulling in nearby entities and blocks. They can grow over time, follow players, and cause destruction in their path.

Features

  • Realistic Physics: Black holes exert gravitational force on nearby entities and blocks based on configurable mass values
  • Growing Black Holes: Black holes can expand over time, increasing their area of effect
  • Player Tracking: Black holes can follow players within a configurable range
  • Visual Effects: Features customizable particle effects for an immersive experience
  • Fully Configurable: All aspects of black hole behavior can be adjusted via commands or configuration file
  • Creative Mode Integration: Black hole item available in both custom creative tab and vanilla Redstone Blocks tab

Texture Pack

This mod uses Polymer for custom rendering and requires a texture pack for the black hole visuals. Use the /polymer generatepack command in-game to create a default texture pack, then drag the generated pack (named resource_pack in the polymer folder) into your resources folder or use a serverside resource pack. See the Polymer Documentation for more details.

Commands

All commands require operator permission level 2 or higher and begin with /blackhole:

Configuration Commands

CommandDescription
getmaxscale / setmaxscale <value>Get/set maximum size a black hole can grow to
getgravity / setgravity <value>Get/set gravitational constant
getplayermass / setplayermass <value>Get/set mass value for players
getblockmass / setblockmass <value>Get/set mass value for blocks
getitementitymass / setitementitymass <value>Get/set mass value for item entities
getanimalmass / setanimalmass <value>Get/set mass value for animal entities
getchunkloadradius / setchunkloadradius <value>Get/set radius of chunks to force-load around a black hole
getmaxblockspertick / setmaxblockspertick <value>Get/set maximum blocks processed per tick
getmovementspeed / setmovementspeed <value>Get/set movement speed of following black holes
getdefaultfollowrange / setdefaultfollowrange <value>Get/set default range for black holes to detect players
getplayerdetectioninterval / setplayerdetectioninterval <value>Get/set ticks between player detection checks
getgrowthrate / setgrowthrate <value>Get/set growth rate for black holes
getparticles / toggleparticlesGet/toggle particle effects on/off globally

Black Hole Manipulation Commands

CommandDescription
togglefollowToggle whether the nearest black hole follows players
togglegrowthToggle whether the nearest black hole grows over time
setfollowrange <range>Set the follow range for the nearest black hole

Configuration

The mod creates a configuration file at config/black_hole.json with the following default values:

{
  "maxScale": 40.0,
  "gravity": 60.0,
  "playerMass": 700.0,
  "blockMass": 10.0,
  "itemEntityMass": 0.1,
  "animalMass": 50.0,
  "chunkLoadRadius": 2,
  "maxBlocksPerTick": 500,
  "movementSpeed": 1.0,
  "defaultFollowRange": 256.0,
  "playerDetectionInterval": 60,
  "growthRate": 0.04,
  "particlesEnabled": true
}

Configuration Properties

PropertyDescriptionDefault
maxScaleMaximum size a black hole can grow to40.0
gravityGravitational constant affecting pull strength60.0
playerMassMass value for players (affects how strongly they're pulled)700.0
blockMassMass value for blocks10.0
itemEntityMassMass value for item entities0.1
animalMassMass value for animal entities50.0
chunkLoadRadiusRadius of chunks to force-load around a black hole2
maxBlocksPerTickMaximum blocks processed per tick (performance setting)500
movementSpeedMovement speed when following players1.0
defaultFollowRangeDefault range for black holes to detect players256.0
playerDetectionIntervalTicks between player detection checks60
growthRateHow quickly black holes grow in size0.04
particlesEnabledWhether particle effects are enabled globallytrue

Behavior Notes

  • Black holes will consume any entity that gets too close to its center
  • Creative mode players are immune to black hole effects
  • Black holes can break most blocks but cannot break blocks with infinite hardness (like bedrock)
  • Black holes can be configured to not follow players or to stop growing
  • Black holes will create falling block entities from some destroyed blocks for visual effect
  • Each black hole maintains its own settings for following and growth
  • Particle effects can be toggled off for better performance on servers or lower-end systems
  • The black hole item can be found in the custom "BlackHole" creative tab or in the vanilla Redstone Blocks tab

Technical Information

  • Built with Fabric and Polymer for vanilla client compatibility
  • Uses chunk force-loading to ensure black holes function even when players are distant
  • Implements custom block entity with tick-based behavior
  • Supports server-side resource packs for texture distribution

Known Issues

  • Black Hole Rendering Issue: The black hole often looks like the circle is moving when the player changes their view, this is due to the display mode of the item display being set to billboard, advanced maths that i dont understand is required to fix this.
  • Render Distance Issue: The black hole disappears when moving too far away, even within typical render distances, due to entity rendering limitations.

Any fixes found can be submitted through a Pull request on the Github: https://github.com/IDoTheHax/Blackhole Don't Hesitate to add your fixes!!

Compatibility

This mod is built for Fabric and requires:

  • Fabric API
  • Polymer

License

All Rights Reserved - IDoTheHax 2025

Credits

Created by IDoTheHax

Совместимость

Minecraft: Java Edition

1.21.x

Платформы

Поддерживаемые окружения

Сервер

Детали

Лицензия:LicenseRef-All-Rights-Reserved
Опубликован:1 год назад
Обновлён:5 месяцев назад
Главная