Minecraft Blogs / Tutorial

[Guide] Lucky Block Creation [How to Create Your Own] [For Dummies]

  • 18,507 views, 23 today
  • 14
  • 11
  • 12
craftdiamonds avatar craftdiamonds
Level 57 : Grandmaster Pixel Puncher
88
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!

Official Lucky Block Documentation [​Recommended] - http://www.minecraftascending.com/projects/lucky_block/documentation/introduction.html


==============
#1 Get your thing's set-up
If you want to make you will first have to understand lucky block add-ons!

First, you wanna Go to the Lucky Block Mod Page Here
[url=www.planetminecraft.com/mod/lucky-block/

]www.planetminecraft.com/mod/lucky-block/

[/url]Then you want to scroll down until you see the Line called Customisation

[Guide] Lucky Block Creation [How to Create Your Own] [For Dummies]

Then you wanna click on "Documentation" under Add-on generator
[Guide] Lucky Block Creation [How to Create Your Own] [For Dummies]



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

[Guide] Lucky Block Creation [How to Create Your Own] [For Dummies]
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)

===================

#5 Plugin_init

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).

==============

#7 Recipes
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
d= diamond_block
l = lucky_block


You first would need to create the recipe so
ddd,dld,ddd

Then after these values, declare what these letters actually mean.
d,diamond_block,l,lucky:lucky_block

So in turn

ddd,dld,ddd,d,diamond_block,l,lucky:lucky_block
It would be a lucky block in the middle with diamond_blocks all around

If you want more advanced crafting private message me!

=======================
#8 Test
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 craftdiamonds 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



=================

#12 Test
Repeat the processes in Step #3
Check if

- 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

===================
#14 Structures
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

This is difficult to fully explain, in fact, the drops, in general, are hard to go into detail since its where everything really happens.
Refer to this document for all the information on the items
http://www.minecraftascending.com/projects/lucky_block/documentation/6_4_lucky_items.html

========================

#16 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
- Mobs
- 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

GETTING ITEMS
The basic format for an item based drop is
/Comment
(drop info) @luck=(#)


@luck dictates how often the drops will appear under what the luck of the lucky block is
-2=Very Unlucky
-1=Unlucky
0=Normal Luck
1=Lucky
2=Very Lucky

Now pretend in your block you want the user to get 3 Dragon Eggs
In order to do this, a simple syntax would be

/Dragon eggs
ID=dragon_egg,amount=3@luck=0

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
amount=#rand(1,3)

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.

Refer here for more info
http://www.minecraftascending.com/projects/lucky_block/documentation/2_2_items.html

MOBS
/cow
type=entity,ID=Cow@luck=0
This drop will spawn a cow

Mobs in Minecraft are known as entities.
Let's create a spawn where a mob or entity is riding another entity
If you wanna have a Mob riding a Mob you are gonna want to do something like this

In this case, let's have a Chicken riding an Ender dragon!

type=entity,ID=Chicken,NBTTag=(Riding=(id=EnderDragon))@luck=0

type=
This is a baseline for anything that a lucky block creates. This can vary from
type=entity
type=item
type=particle
type=fill
type=explosion
type=structure
These are a few examples

Now say you want to actually name your Chicken, well using the NBBTTag we are able to do just that

So here we have
type=entity,ID=Chicken,NBTTag=(CustomName="Billy")

NBTTag=(CustomName="Billy")
Have this after the entity name, this is a simple format for adding a name to an entity


Refer to this for more Detail
http://www.minecraftascending.com/projects/lucky_block/documentation/2_4_entities.html


NAMING ITEMS
So let's say you want to name an item.
Well to do this, we will need to add an NBTTag!
NBTTag=(display=(Name="STICK!")


Let's say you want to actually color the item
Well to do this, we will need to use color codes!

NBTTag=(display=(Name="$cSTICK!")
You see the $c before "STICK!"

That makes the name right after colored

Here is a table of all the colors you can add to a name
http://minecraft.gamepedia.com/Formatting_codes




CodeOfficial NameTechnical NameForeground ColorBackground Color
RGBHexRGBHex
§0Blackblack000000000000000000
§1Dark Bluedark_blue001700000AA004200002A
§2Dark Greendark_green0170000AA000420002A00
§3Dark Aquadark_aqua017017000AAAA04242002A2A
§4Dark Reddark_red17000AA000042002A0000
§5Dark Purpledark_purple1700170AA00AA420422A002A
§6Goldgold2551700FFAA00424202A2A00
§7Graygray170170170AAAAAA4242422A2A2A
§8Dark Graydark_gray858585555555212121151515
§9Blueblue85852555555FF21216315153F
§aGreengreen852558555FF55216321153F15
§bAquaaqua8525525555FFFF216363153F3F
§cRedred2558585FF55556321213F1515
§dLight Purplelight_purple25585255FF55FF6321633F153F
§eYellowyellow25525585FFFF556363213F3F15
§fWhitewhite255255255FFFFFF6363633F3F3F



--

Let's go back to our dragon egg drop and add a colored name to them!

/Dragon egg
ID=dragon_egg,amount=3,NBTTag=(display=(Name="$9Eggs of Dragons")@luck=0

This full drop will drop three dragon eggs and will be labeled "Eggs of Dragons" with the text color of blue. The eggs will typically drop if the luck of the block is neutral or 0


More information on drops [Look through this to get a better understanding on drops)
http://www.minecraftascending.com/projects/lucky_block/documentation/2_drop_properties.html

===============================================================
#17 Test It
Repeat Step #3 and see if your drops work!

================================================================
#16 Debug it

If something fails, go look through the file that coincides with what failed (take a certain drop for example)

Make sure there are no typos and the drop is formatted correctly, one simple mistake will make the entire drop not work!
================================================

#16 The End
You are on your own!
I have linked many resources below to help you on your quest to make the most amazing block the world has ever seen!

Private message me if you have any questions!


Lucky Block Mod - http://www.minecraftforum.net/forums/mapping-and-modding/minecraft-mods/1292247-lucky-block-mod-drops-items-spawns-mobs-structures

Color Codes- http://minecraft.gamepedia.com/Formatting_codes

Piskel - https://www.piskelapp.com/

Enchanting Codes (Enchants) - http://www.minecraftforum.net/forums/minecraft-discussion/creative-mode/365638-enchantment-id-list

Potion Codes (Potion effects) - http://minecraft.gamepedia.com/Status_effect

Lucky Block Creeper - https://www.minecraftforum.net/forums/mapping-and-modding-java-edition/minecraft-mods/2624126-lucky-block-creeper-remastered-1-7-10-1-8-1-8-9

Custom Heads - https://freshcoal.com/maincollection

Item name generator (helps you come up with creative names) -http://www.fantasynamegenerators.com/helmet-names.php

Lucky Block Central (talk to lucky block creators directly) [​Recommended] - https://discord.gg/fspeeXC

Official Lucky Block Documentation [​Recommended] - http://www.minecraftascending.com/projects/lucky_block/documentation/introduction.html


Please consider giving this a diamond!

Thanks,
craftdiamonds
Tags

5 Update Logs

Update #5 : 03/30/2020 11:05:03 pmMar 30th, 2020

A major update was done!

- Cleaned up spelling errors
- Polished grammatical errors
- Worded things a little bit better
- Made it more clear what kind of message I was trying to convey
- Replaced images with new ones and added some more
- Removed unnecessary text that might confuse the reader
LOAD MORE LOGS

Create an account or sign in to comment.

1
03/14/2018 9:26 am
Level 36 : Artisan Fox
Phanticyde
Phanticyde avatar
Everything from customization to contributors is not clickable. can't click any DOWNLOAD HERE cant click any VIEW HERE nothing. is this on purpose?
1
03/14/2018 4:30 pm
Level 57 : Grandmaster Pixel Puncher
craftdiamonds
craftdiamonds avatar
I can click on them fine?
1
03/14/2018 5:57 pm
Level 36 : Artisan Fox
Phanticyde
Phanticyde avatar
I can't. it says its a picture
1
12/09/2017 2:00 pm
Level 1 : New Network
rafii2198
rafii2198 avatar
Is there a way to disable glow from the lucky items?
1
12/09/2017 4:01 pm
Level 57 : Grandmaster Pixel Puncher
craftdiamonds
craftdiamonds avatar
Not that I know of, sorry
1
12/09/2017 6:18 pm
Level 1 : New Network
rafii2198
rafii2198 avatar
That's bad... I made a 1024p animation for sword and lucky block and I have lags when I have sword somewhere so I think this is because of glow effect...
1
05/19/2017 5:58 pm
Level 32 : Artisan Network
bobdoesminecraft bob
bobdoesminecraft bob avatar
add me on skype:bobdoesminecraftbob
or join this group:https://join.skype.com/P37gc2uvEq3L

i
really need someone help me with my lucky block series
this is my yt channel:https://www.youtube.com/channel/UCNmWghXPYp1bJCeoDOH27uQ

i
hope u can help me :(
1
05/19/2017 6:53 pm
Level 57 : Grandmaster Pixel Puncher
craftdiamonds
craftdiamonds avatar
I might consider it
But I will not accept the Skype invitation for a matter of security
I only have it for major issues and such ;)
PM if you really want me do make a lucky block
1
05/19/2017 5:56 pm
Level 32 : Artisan Network
bobdoesminecraft bob
bobdoesminecraft bob avatar
can u be my lucky block maker?
1
10/11/2016 9:38 pm
Level 57 : Grandmaster Pixel Puncher
craftdiamonds
craftdiamonds avatar
Just Checked Back at this ans saw a bunch of spelling errors :p
1
07/27/2017 2:31 pm
Level 1 : New Miner
KaptainKitteh
KaptainKitteh avatar
Can you PLEASE help me with making a lucky block? I'm very passionate about this and this is my first mod. Don't do anything for me, please give me more info!
1
07/28/2017 4:44 pm
Level 57 : Grandmaster Pixel Puncher
craftdiamonds
craftdiamonds avatar
Sure thing m8
I can help on most of the things ;)
Just ask my what specific part of the block you need help on ^-^
Planet Minecraft

Website

© 2010 - 2021
www.planetminecraft.com

Welcome