Java edition allows you to change your IGN w/o changing that other info... as long as that stays true, it shouldn't matter what your default IGN is.;,;.
The question is where I should currently be posting things concerning Datapacks?
The suggestion is making a category on Minecraft forums for Datapacks.
don't know what the issue with 400 was, (suppose to give 1% chance of the following 4 options) but I guess I'll stick with 2% chances instead, they seem to work fine.;,;.
at this link you can find my data pack, please give me credit if you use this for other things, and don't use this pack to make money unless you give much access to who created it, my current IGN is Redstone_Source http://tiny.cc/DJLDP
I apologize, as of yet, data packs don't seem to have that functionality (not an expert, but I've never seen this w/o special systems that don't actually use the basic crafting table).
I created a data pack for giving a chance when mining stone of getting a random other item, below is all I have so far, was testing to see if this works, can anyone tell me where I went wrong?
I have the spoiler in [world folder]/datapacks/[data pack]/data/minecraft/loot_tables/blocks/stone.json
---1% chance at getting one of the following items
----<Any item in game>
--When someone uses a non-silk touch pick
---Guaranteed one cobblestone
---1% chance at getting one of the following items
----<Any item in game>
would someone be able and willing to show me how to create a loot table like this, I would only want them to replace where I say any item in game with three specific items of their choosing :-) I can do the rest no problem once I see that :-)
I am attempting to create a data pack that uses the loot table for blocks, specifically stone, to give you a 1% chance at a random item this item being any item in the game... I ask that someone help me by giving me the layout for it...
give me 99% chance at getting cobble, a 0.5% chance at 1-64 diamond(s), a 0.5% chance at getting 1-64 emerald(s)... this will be simple in comparison to what I plan to do, but will help me alot in finishing this... if you want, I will give you credit for assisting me in this regard... I do not plan to make money off this, but do plan to share it with others.;,;.
0
Java edition allows you to change your IGN w/o changing that other info... as long as that stays true, it shouldn't matter what your default IGN is.;,;.
0
The question is where I should currently be posting things concerning Datapacks?
The suggestion is making a category on Minecraft forums for Datapacks.
0
don't know what the issue with 400 was, (suppose to give 1% chance of the following 4 options) but I guess I'll stick with 2% chances instead, they seem to work fine.;,;.
at this link you can find my data pack, please give me credit if you use this for other things, and don't use this pack to make money unless you give much access to who created it, my current IGN is Redstone_Source
http://tiny.cc/DJLDP
0
I got a bit of a solution, but ran into another problem: this only works when the weights that I'm labeling 400 are lowered (40 was tested and works)
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
],
"name": "minecraft:stone",
"weight": 400
},
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"name": "minecraft:cobblestone",
"weight": 400
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:acacia_boat",
"weight": 1
},
{
"type": "minecraft:item",
"name": "minecraft:acacia_button",
"weight": 1
},
{
"type": "minecraft:item",
"name": "minecraft:acacia_door",
"weight": 1
},
{
"type": "minecraft:item",
"name": "minecraft:acacia_fence",
"weight": 1
}
]
}
]
}
Anyone got a fix for me?
0
I apologize, as of yet, data packs don't seem to have that functionality (not an expert, but I've never seen this w/o special systems that don't actually use the basic crafting table).
0
I created a data pack for giving a chance when mining stone of getting a random other item, below is all I have so far, was testing to see if this works, can anyone tell me where I went wrong?
I have the spoiler in [world folder]/datapacks/[data pack]/data/minecraft/loot_tables/blocks/stone.json
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"entries": [
{
"type": "minecraft:alternatives",
"weight": 4,
"children": [
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
],
"name": "minecraft:stone"
},
{
"type": "minecraft:item",
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
],
"name": "minecraft:cobblestone"
}
]
},
{
"type": "minecraft:item",
"name": "minecraft:acacia_boat",
"weight": 1
},
{
"type": "minecraft:item",
"name": "minecraft:acacia_button",
"weight": 1
},
{
"type": "minecraft:item",
"name": "minecraft:acacia_door",
"weight": 1
},
{
"type": "minecraft:item",
"name": "minecraft:acacia_fence",
"weight": 1
}
]
}
]
}
Updated 6th-october-2019 23:37 pst
0
I wish I could get some help on this☹️
0
😭
0
I would like to know how to do this to, the only enchanted item I can ever get as an output of a custom recipe is sadly an enchanted golden apple: (
0
Here is what I was hoping to do
-Stone loot table
--When someone uses a silk touch pick
---Guaranteed one stone
---1% chance at getting one of the following items
----<Any item in game>
--When someone uses a non-silk touch pick
---Guaranteed one cobblestone
---1% chance at getting one of the following items
----<Any item in game>
would someone be able and willing to show me how to create a loot table like this, I would only want them to replace where I say any item in game with three specific items of their choosing :-) I can do the rest no problem once I see that :-)
0
I was wondering where to ask about assistance in creating a Minecraft Java data pack?
0
I said "due to this site archiving", hence, I will no longer be doing that, so please, if you are willing, help me out.;,;.
0
I will also be posting the finished product as a reply to this forum and in another forum here as well as other places.;,;.
Edit: I will be moving this post to my site instead, https://mc-forums.enjin.com due to this site archiving.
0
I am attempting to create a data pack that uses the loot table for blocks, specifically stone, to give you a 1% chance at a random item this item being any item in the game... I ask that someone help me by giving me the layout for it...
give me 99% chance at getting cobble, a 0.5% chance at 1-64 diamond(s), a 0.5% chance at getting 1-64 emerald(s)... this will be simple in comparison to what I plan to do, but will help me alot in finishing this... if you want, I will give you credit for assisting me in this regard... I do not plan to make money off this, but do plan to share it with others.;,;.
0
If you follow the link above, you'll see I found the answer