From 6722f4401e05352880610cbf3d2a1e34fa1e7e66 Mon Sep 17 00:00:00 2001 From: Irtimaled Date: Sat, 9 Mar 2019 13:44:13 -0800 Subject: [PATCH] Bump version to 1.0.6 --- README.md | 122 ++++++++++++++++++-------------- gradle.properties | 2 +- src/main/resources/profile.json | 5 +- 3 files changed, 73 insertions(+), 56 deletions(-) diff --git a/README.md b/README.md index 5540e87..4f07bf7 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ # BoundingBoxOutlineReloaded -BoundingBoxOutlineReloaded is a mod for Minecraft Vanilla, Forge, LiteLoader, Rift and Fabric +BoundingBoxOutlineReloaded is a mod for Minecraft Vanilla, Forge, LiteLoader, Rift, and Fabric -# Why did I make it? +## Why did I make it? I loved 4poc's BBOutline mod but the only version I could get to work consistently was for Minecraft 1.6.4. This is fine if you want Nether Fortress bounding boxes but if you need witch huts the new block types can cause Minecraft 1.6.4 to crash horribly; and don't get me started on item frames crashing Minecraft 1.6.4! In addition to this not working with newer worlds, the way it bounds villages lacks the finesse of KaboPC's VillageMarker mod, and any new structures introduced in Minecraft like Ocean Monuments are missing entirely. -# What it does +## What it does This mod highlights in a variety of colours and styles the different structures & features of the game:- - Nether Fortresses; red boxes bound each individual area where Blaze, Wither Skeletons & normal Skeletons will spawn. Time for a beacon methinks! @@ -30,75 +30,89 @@ This mod highlights in a variety of colours and styles the different structures - Mob Spawners; bright green boxes show where mob spawners are, where mobs will be spawned, and red/orange/green lines help the player see if a spawner is nearby and activated. - Pillager Outposts; grey boxes outline where crossbow wielding pillagers will spawn. Beware of bad omens tho! -(*) Due to how Minecraft generates these structures they will initially float above where they should be, however upon re-logging they should drop down to the correct height. Unfortunately (or fortunately?) buried treasure will always appear at y-90 (unless Mojang change something that is!) +(*) Due to how Minecraft generates these structures they will initially float above where they should be, however upon re-logging they should drop down to the correct height. Unfortunately (or fortunately?) buried treasure will always appear at y-90 (unless Mojang change something that is!) -# How it works +## How it works -As chunks are loaded the game provides metadata about all the different structures & features in those chunks. The mod interprets this meta data, caches the results, and renders the bounding boxes to the screen. In an SMP environment this data is not present on the clients so the mod needs to run on the server where the processing happens and then the relevant metadata is sent to the clients for them to render. +As chunks are loaded the game provides metadata about all the different structures & features in those chunks. The mod interprets this meta data, caches the results, and renders the bounding boxes to the screen. In an SMP environment this data is not present on the clients so the mod needs to run on the server where the processing happens and then the relevant metadata is sent to the clients for them to render. -# Installing (Forge/LiteLoader/Rift/Fabric) +## Installing (Forge/LiteLoader/Rift/Fabric) -Make sure you have the relevant mod loader installed then drop the mod file into the appropriate mods folder. [Forge Only] If you want to use client/server with your SMP server then make sure the mod is installed on both client and server. +Make sure you have the relevant mod loader installed then drop the mod file into the appropriate mods folder. This approach can be used for client and server deployments where needed. -# Installing (Vanilla) +## Installing (Vanilla) -Double-click the jar file and a profile for the relevant version of Minecraft will be created/updated in the launcher. In a SMP scenario you'll need to use local dat files - see below. +Double-click the jar file and a client profile for the relevant version of Minecraft will be created/updated in the launcher. -# Configuring +## Running a server (Vanilla) + +To start a vanilla server with the mod loaded, copy the relevant jar file to a folder, and run:- +``` +java -jar BBOutlineReloaded-{version}.jar --server +``` + +Running this will download the necessary pre-requisities and start the server. + +## Configuring The keyboard shortcuts can be configured in the standard Controls screen. -The following options are available for configuration - -Option | Client/Server | Description | Cfg File Key | Cfg File Values | Default ---- | --- | --- | --- | --- | --- -Nether Fortresses | Both | Process/Render Nether Fortresses | drawNetherFortresses | true/false | true -Witch Huts | Both | Process/Render Witch Huts | drawWitchHuts | true/false | true -Desert Temples | Both | Process/Render Desert Temples | drawDesertTemples | true/false | true -Jungle Temples | Both | Process/Render Jungle Temples | drawJungleTemples | true/false | true -Ocean Monuments | Both | Process/Render Ocean Monuments | drawOceanMonuments | true/false | true -End Cities | Both | Process/Render End Cities | drawEndCities | true/false | true -Strongholds | Both | Process/Render Strongholds | drawStrongholds | true/false | false -Woodland Mansions | Both | Process/Render Mansions | drawMansions | true/false | true -Mine Shafts | Both | Process/Render Mine Shafts | drawMineShafts | true/false | false -Igloos | Client | Process/Render Igloos | drawIgloos | true/false | true -Shipwrecks | Client | Process/Render Shipwrecks | drawShipwrecks | true/false | true -Ocean Ruins | Client | Process/Render Ocean Ruins | drawOceanRuins | true/false | true -Buried Treasure | Client | Process/Render Buried Treasure | drawBuriedTreasure | true/false | true -Mob Spawner | Client | Process/Render Mob Spawners | drawMobSpawners | true/false | true -Mob Spawner Spawn Area | Client | Render where mobs will be spawned | renderMobSpawnerSpawnArea | true/false | true -Mob Spawner Activation Lines | Client | Render red/orange/green lines to show nearby spawners and if they are active | renderMobSpawnerActivationLines | true/false | true -Pillager Outposts | Client | Process/Render Pillager Outpoints | drawPillagerOutposts | true/false | true -Villages | Both | Process/Render Villages | drawVillages | true/false | true -Village spheres | Client | Render Villages as spheres instead of cuboids | renderVillageAsSphere | true/false | true -Village Iron Golem Spawn Area | Client | Render Iron Golem Spawn Area within valid Villages | drawIronGolemSpawnArea | true/false | true -Village doors | Client | Render lines between village centre and doors | drawVillageDoors | true/false | false -Slime Chunks | Client | Process/Render Slime Chunks | drawSlimeChunks | true/false | true -Slime Chunks Maximum Y | Client | Maximum Y value of the dynamic slime chunk boxes | slimeChunkMaxY | -1-255 (see below) | -1 -World Spawn | Client | Process/Render World Spawn & Spawn Active Chunks | drawWorldSpawn | true/false | true -World Spawn Maximum Y | Client | Maximum Y value of the world spawn & spawn chunk boxes | worldSpawnMaxY | -1-255 (see below) | -1 -Lazy Spawn Chunks | Client | Process/Render Lazy Spawn Chunks | drawLazySpawnChunks | true/false | false -Fill | Client | Fill the bounding boxes (except village ones) | fill | true/false | true -Always Visible | Client | Bounding boxes are visible through blocks - kinda messes with perspective tho! | alwaysVisible | true/false | false -Keep Cache Between Sessions | Client | Bounding box caches are not cleared when disconnecting from single or multiplayer worlds. | keepCacheBetweenSessions | true/false | false +The following options are available for configuration on the client through a configuration Gui. On Vanilla, Rift & Fabric there is a BBOR button on the options screen, alternatively press and hold B key when in game. + +Option | Description | Cfg File Key | Cfg File Values | Default +--- | --- | --- | --- | --- +Nether Fortresses | Process/Render Nether Fortresses | drawNetherFortresses | true/false | true +Witch Huts | Process/Render Witch Huts | drawWitchHuts | true/false | true +Desert Temples | Process/Render Desert Temples | drawDesertTemples | true/false | true +Jungle Temples | Process/Render Jungle Temples | drawJungleTemples | true/false | true +Ocean Monuments | Process/Render Ocean Monuments | drawOceanMonuments | true/false | true +End Cities | Process/Render End Cities | drawEndCities | true/false | true +Strongholds | Process/Render Strongholds | drawStrongholds | true/false | false +Woodland Mansions | Process/Render Mansions | drawMansions | true/false | true +Mine Shafts | Process/Render Mine Shafts | drawMineShafts | true/false | false +Igloos | Process/Render Igloos | drawIgloos | true/false | true +Shipwrecks | Process/Render Shipwrecks | drawShipwrecks | true/false | true +Ocean Ruins | Process/Render Ocean Ruins | drawOceanRuins | true/false | true +Buried Treasure | Process/Render Buried Treasure | drawBuriedTreasure | true/false | true +Mob Spawner | Process/Render Mob Spawners | drawMobSpawners | true/false | true +Mob Spawner Spawn Area | Render where mobs will be spawned | renderMobSpawnerSpawnArea | true/false | true +Mob Spawner Activation Lines | Render red/orange/green lines to show nearby spawners and if they are active | renderMobSpawnerActivationLines | true/false | true +Pillager Outposts | Process/Render Pillager Outpoints | drawPillagerOutposts | true/false | true +Villages | Process/Render Villages | drawVillages | true/false | true +Village spheres | Render Villages as spheres instead of cuboids | renderVillageAsSphere | true/false | true +Village sphere dot size | The size of the dots used when rendering village as sphere | villageSphereDotSize | 1-5 | 3 +Village sphere density | The density of the dots used when rendering village as sphere | villageSphereDensity | 1-5 | 3 +Village Iron Golem Spawn Area | Render Iron Golem Spawn Area within valid Villages | drawIronGolemSpawnArea | true/false | true +Village doors | Render lines between village centre and doors | drawVillageDoors | true/false | false +Slime Chunks | Process/Render Slime Chunks | drawSlimeChunks | true/false | true +Slime Chunks Maximum Y | Maximum Y value of the dynamic slime chunk boxes | slimeChunkMaxY | -1-255 (see below) | -1 +World Spawn | Process/Render World Spawn & Spawn Active Chunks | drawWorldSpawn | true/false | true +World Spawn Maximum Y | Maximum Y value of the world spawn & spawn chunk boxes | worldSpawnMaxY | -1-255 (see below) | -1 +Lazy Spawn Chunks | Process/Render Lazy Spawn Chunks | drawLazySpawnChunks | true/false | false +Fill | Fill the bounding boxes (except village ones) | fill | true/false | true +Always Visible | Bounding boxes are visible through blocks - kinda messes with perspective tho! | alwaysVisible | true/false | false +Keep Cache Between Sessions | Bounding box caches are not cleared when disconnecting from single or multiplayer worlds. | keepCacheBetweenSessions | true/false | false +Outer Boxes Only | Render outer bounding boxes only | outerBoxesOnly | true/false | false The Maximum Y value configuration options have some special values, these are:- * -1 = the Y value of the players feet when the bounding boxes were activated. * 0 = the current Y value of the players feet. -Open the config/BBOutlineReloaded.cfg file with your text editor of choice and change the settings. Simples! Minecraft (including servers) will need to be restarted for the settings to take effect. +Another option to configure is to open the config/BBOutlineReloaded.cfg file with your text editor of choice and change the settings. Simples! Minecraft Client will need to be restarted for the settings changed this way to take effect. -# Using +## Using -Press B, sit back and enjoy the goodness flowing onto your screen. -Press O to switch the "Display Outer Boxes Only" mode on and off, this will allow you to see the full boundary of Nether Fortresses, End Cities, Strongholds and Mineshafts +- Press B, sit back and enjoy the goodness flowing onto your screen. +- Press and hold B to open the configuration Gui. +- Press O to switch the "Display Outer Boxes Only" mode on and off, this will allow you to see the full boundary of Nether Fortresses, End Cities, Strongholds and Mineshafts -# Bounding boxes when connected to vanilla servers +## Bounding boxes when connected to servers -There are two options when you want bounding boxes to show whilst accessing vanilla servers:- +There are a few options when you want bounding boxes to show whilst accessing servers:- -1. Keep cache - With the "Keep Cache Between Sessions" config setting enabled, Open a copy of the world in single player and move around to capture all the structures you want in the cache. Once you are happy with the structures you have cached, quit the single player game and connect to the server without closing Minecraft. You will see all the structures from the cache. -2. Load dat files - Copy the dat files listed below into config/BBOutlineReloaded/{host}/{port} and these will be loaded when you connect to the vanilla server. {host} is the name or ip you use to connect to the server; {port} is the port you specify when connecting. The mod will load any/all of following files:- +- Use a modded server - Ensure the server is running with this mod loaded (as described above), and connect to the server with a client with this mod loaded. +- Keep cache - With the "Keep Cache Between Sessions" config setting enabled, Open a copy of the world in single player and move around to capture all the structures you want in the cache. Once you are happy with the structures you have cached, quit the single player game and connect to the server without closing Minecraft. You will see all the structures from the cache. +- Load dat files(*) - Copy the dat files listed below into config/BBOutlineReloaded/{host}/{port} and these will be loaded when you connect to the vanilla server. {host} is the name or ip you use to connect to the server; {port} is the port you specify when connecting. The mod will load any/all of following files:- - level.dat; include this for world spawn, spawn and slime chunks to be rendered. - Fortress.dat; include this for Nether Fortresses to be rendered. - EndCities.dat; include this for EndCities to be rendered. @@ -108,9 +122,11 @@ There are two options when you want bounding boxes to show whilst accessing vani - Mansion.dat; include this for Mansions to be rendered. - Temple.dat; include this for Desert & Jungle Temples and witch huts to be rendered. +(*) This is becoming more and more irrelevant as dat files are being phased out, and this feature may be removed/replaced in the future. + It is also possible to include the villages.dat, villages_end.dat & villages_nether.dat files and it will render villages however these files only contain the villages that were loaded when the files were copied and will not handle any changes that occur with villages such as when doors are added/removed or villager population changes. -# Links +## Links - Forge - [Download](https://files.minecraftforge.net/) - 4poc's BBOutline mod - [Forum](http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1286555-bounding-box-outline) | [Source](http://www.github.com/4poc/bboutline) - KaboPC's VillageMarker mod - [Forum](http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1288327-village-marker-mod) diff --git a/gradle.properties b/gradle.properties index f8d8c0d..92e611b 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,3 +1,3 @@ name = bbor -buildVersion = 1.0.5 +buildVersion = 1.0.6 mcVersion = 1.13 diff --git a/src/main/resources/profile.json b/src/main/resources/profile.json index c874ddf..2f41427 100644 --- a/src/main/resources/profile.json +++ b/src/main/resources/profile.json @@ -13,11 +13,12 @@ "mainClass": "net.minecraft.launchwrapper.Launch", "libraries": [ { - "name": "com.irtimaled:bbor:${version}" + "name": "com.irtimaled:bbor:${version}", + "url": "https://github.com/irtimaled/maven/releases/download/" }, { "name": "org.spongepowered:mixin:0.7.11-SNAPSHOT", - "url": "https://github.com/irtimaled/Mixin/releases/download/" + "url": "https://github.com/irtimaled/maven/releases/download/" }, { "name": "org.ow2.asm:asm:6.2", -- 2.44.0