The Meaning of Life, the Universe, and Everything.
I would but no
Hello and welcome to Lucky Block Creation Guide
Here you can learn how to make your own Lucky Block Addon for Minecraft 1.8
This will only give you the basic's to get started and to understand the drops format
To provide authenticity I am Lucky Block Creeper Creator: CLICK HERE to check it out.
First and foremost, The Lucky Block Mod was made here http://www.planetminecraft.com/mod/lucky-block/
If you have created a Lucky Block please note you cannot post it to Planet Minecraft. Minecraft Forums and other sites are fine.
For this to make sense, you have to have at least a bit of an idea of the assets regarding .minecraft and how to create texture packs. In addition to the basic knowledge of computers!
Then you want to scroll down until you see the Line called Customisation
Then you wanna click on "Documentation" under Add-on generator
After that unzip the file and you should have a .jar file called Addon Generator
Execute it then a text box should appear
In that text box type in what you want your lucky block to be called, this is all your choice.
I chose Skillz
Then click "Done."
#2 File Exploring
After you have clicked "Done", where ever on your computer you have unzipped the addon generator file, that is where the lucky block files will be located.
Your folder should have a set-up like this
Did you get that? Good.
Now you are going to want to open the assets folder, then click the lucky folder.
After this, you should be presented with 4 folders.
Head into the folder labeled "lang"
If you cannot open the lang file right-click it and click open with... - then select notepad or word
If it works then great! When you open it you should be presented with this!
Here you name what your Lucky Block and Weapons will appear as in-game!
So after tile.YourLBName.name=
The actual name that appears in-game is after the "="
You may change this if you so desire.
The same thing applies to all the lucky items.
After you are done safe and close the file.
#3 Test it (For now)
Now go back to the root or start of the folder (previous screenshots with all the files)
On your screen, right-click -> new -> .zip archive tool
You should have created a .zip archive. After this event, highlight everything in the folder and drag it into the archive.
Take this archive and go to .minecraft, paste this archive into add-ons.
(make sure you have the latest Lucky block 1.8 version in your mods folder as well)
#4 Test it in Minecraft
You should then launch Minecraft Forge 1.8, load or create a world, and search for your lucky block!
Furthermore, you should go into creative and get your items
(we will change the texture later for the items don't worry)
Delete the .zip you placed in the "addons" folder, it won't be of any use anymore.
Now go back to your folder and open the plugin_init File
You should have this
These right here are known as variables. When writing your lucky block "code" you will refer to these variables when describing your weapons, potions, lucky block. You may change them if desired after the "=" sign.
#6 Luck Crafting
Now open the "luck_crafting" file
Now here is where we can determine what specific items can make blocks more lucky or unlucky.
To do this simply change the number next to an item!
Positive values increase luck
While negative (-) values decrease luck!
To add new items, simply just type the item as you would with the /give command (minecraft item or block id).
Open the file labeled "recipes"
Here you will create your crafting recipe!
Now after the "/craft by placing the lucky block in center and light or dark gray dye around"
Delete everything that but the "/ "
after the "/" you will specify how to craft the block
The three first values (ggg) represent the 1st horizontal row in a crafting table.
While the second three values (glg) represent the 2nd row
The last three values(gg) represent the last row in a crafting table
ggg,glg,ggg = The recipe in the crafting table
g,dye:8,l,lucky:lucky_block = The items
So if I had something like this
To actually create your own recipe, you will need to first select a value of letters that would represent blocks or items. Like variables.
So in this case
l = lucky_block
You first would need to create the recipe so
Then after these values, declare what these letters actually mean.
So in turn
It would be a lucky block in the middle with diamond_blocks all around
If you want more advanced crafting private message me!
Making a lucky block is all trail and error and requires a lot of testing
Repeat the process in Step #3
Now check to see if your
- Lucky and unlucky items Work
- Crafting recipe works
- and the /give command
/give yourMCname lucky:"step 5 variables"
[For me this would be - /give craftidamonds lucky:lucky_block_skillz
#9 Take a Break
Skip this if desired!
#10 Block Textures
Go to assets then the lucky folder and come back to the area with the 4 folders
Click the texture folder -> blocks
You should see a picture of a lucky block
Right-click it and click edit
Here you can edit your lucky block to any texture you want
Make sure you leave it as a .png and as a 16x16 file
If you are proficient in Pixel Art design, I recommend the tool Piskel to aid in the creation of unique blocks!
When implementing your own textures external, delete the current image file, then paste your new .png file, but rename it to what it was set to before (step 5 variables)
#11 Weapon Textures
Repeat the same process in Step #10 for bows and swords but go into the items folder
Though, bows are a bit trickier. While you do use the same variables set in Step #5, you have to add a bit more.
You have to create a texture for the pulling of a bow.
Firstly, your default bow texture should be your variable in step #5 but add _standby
The first phase of pulling the bow add _pulling_0
The second add _pulling_1
And the fully charged bow should be _pulling_2
Repeat the processes in Step #3
- Lucky block textures are correctly loaded
- Lucky weapons textures are correctly loaded
#13 NaturalGen and Properties
Select the file natural_gen and open it
Here you don't need to change anything unless you really want to customize this!
What this file does is that it shows how often your lucky block will spawn in the world and how it will spawn.
The natural gen file indicated how the block will spawn; a clear example would be within a structure.
The higher the number, the less of a chance the block will spawn in the world
so @chance=200 means a lucky block has a 1/200 chance to spawn in the world in that specified way.
The Properties file highlights three main things.
spawnrate indicates the rate at which lucky blocks will spawn, 50 is recommended.
structure chance highlights the chance of spawning in a structure.
doDropsOnCreativeMode indicates whether or not breaking the block will actually do things.
False = breaking the block in creative won't do anything
True = breaking the block in creative will do things
I recommend looking at the documentation for this, I do know how to implement structures now, but its hard to explain here!
Private message me for some real help!
#15 Bow drops, Sword drops, And Potion Drops
I won't go into too much detail as you are gonna have to figure most of this out on your own. This is just a basic drop!
Now, this is what makes and breaks a lucky block. The drops...
Firstly, open the "drops" file and delete all the text.
For a few basic starters, I will be talking about
- Getting Items
- Named Items
Before we start anything, I would like to mention that the most crucial step is organizing everything by leaving comments. These comments will not be read by Minecraft but are just notes to help you stay organized. To leave a comment simply type a / and type whatever is needed afterward
The basic format for an item based drop is
(drop info) @luck=(#)
@luck dictates how often the drops will appear under what the luck of the lucky block is
Now pretend in your block you want the user to get 3 Dragon Eggs
In order to do this, a simple syntax would be
This will give the player 3 Eggs
"amount=" will allow you to dictate how many times an item will drop!
You can also set a random value so that every time this drop is picked, a different amount of items will be spawned. This can be done like this
This will give a random amount of eggs between 1 and 3
#rand = random
Here, you are able to fiddle with a variety of values regarding an item. The format is actually quite similar to Minecraft Commands.
Jeez, man! This is really helpful because I hate going through all the documentations in the Lucky Block page. Right now, it's just a 10% complete anyways I'll make sure to credit you/your page for your helpfulness. Thanks, man! Sry I have to say so many thanks because I'm so grateful to those who help me, and TQ!
Hey! I'm trying to make a mod, but the "text box" doesn't pop up when I click it. Am I missing a program or what? BTW I have Windows 10. Please Help! By the way, I love your lucky block mod! Why do my textures not work?
EDIT : I Already solved my problem Thanks for this !
Ahmm Hello Sir.. Can i ask something? when i want to test my luckyblock addons, i'll need to put the "defaultresources" file only?? or i need to include the "Addon Generator" ?? i will put them in .zip or .rar right? and put at addons/lucky_block/ .. ?? Rigght? and also i need the latest lb mod?. Tell me hehe sorry i'm newbie here.
SIR ! My Lucky Block/Addon texture/image InGame is error? Like this.. I Have the same problem as KaptainKitteh . ! Help me please the image is below. that's the image of my lucky block. Please help me!
2. Did you change anything in the block states folder or model folder?
If you did both of these please send me your lucky block file and I will take a look at it and maybe fix it :3
Ahmm.. Actually after i test it at step #8, i didn't still change the texture because i have no time yesterday, so i stop at step 8 yesterday, and i test it in MC and texture is like that, i thought this is the problem
My Recipes.txt , like : ddd,dld,ddd,d,diamond,l,lucky:lucky_block=Master Lucky Block ... (Master Lucky Block, is my lucky block name. Did you think ineed to remove the =?
I Think my Recipes.txt is my problem because when i tried it in mc that i still didn't change anything in recipe.txt the texture is still okay. but after i changed the recipes.txt and test it, the texture got error.