winnetrie Posted March 8, 2018 Posted March 8, 2018 How do i make a custom mapColor? I cannot add a new mapcolor because it is private. I can also not extend on mapColor. Quote Try out my new Modpack for MC 1.15.2 https://www.curseforge.com/minecraft/modpacks/terran-civilization
jabelar Posted March 8, 2018 Posted March 8, 2018 (edited) Do you mean to use it on actual maps? And you want to add an additional color? I don't think you can because the way the map information is stored, there is only 4 bits for each location to represent color and there are already 16 colors defined. Edited March 8, 2018 by jabelar Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/
winnetrie Posted March 8, 2018 Author Posted March 8, 2018 Yes i want to add a new color. There are more then 16 colors defined. If you go look in the mapColor class, you'll see 51 defined colors. I mean the array COLORS have 51 colors defined, so there are 12 more free slots to define. I found a solution. Quote Try out my new Modpack for MC 1.15.2 https://www.curseforge.com/minecraft/modpacks/terran-civilization
jabelar Posted March 8, 2018 Posted March 8, 2018 Okay, yeah the block colors are limited but there is space for the overall colors array. Just use Reflection to make it accessible, which I'm assuming is the solution you found. Quote Check out my tutorials here: http://jabelarminecraft.blogspot.com/
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.