Forgot to discuss the resource pack. Essentially it uses custom model data on the item frame. Odd numbers = item in the frame, even = item players get. It’s included in the download for reference.
@@mathsupercat9021 no custom model data on an item that is put in an item frame. But the items are different model numbers so if the player gets it and puts it in a frame it looks normal
That’s actually not the point of this video. The loot table isn’t specific to spawners, in many cases u might find another block more suitable and less laggy. Maybe mushroom blocks if u don’t mind the mining speed and nature. If so just use same loot table for whatever that block is and the system will still work
I made my first custom block today thanks to this! I was experimenting with the /stopsound command for removing glass breaking sound, but using a spawner for a hard block is way better! Mojang really needs to give us more translucent blocks. I tried using stairs for stone but is was difficult to work with it. Thanks again!
I think Armor stands are the best and here is why: 1. I can use any Base Block because Armor stands when on fire illuminate the block model 2. When putting the Item in an Item frame it isn't a big block which is a problem with the Item frame approach 3. Armor stands actually don't lag that much, I tried and placed like 1000+ and it didn't rlly affect my frame rate and for the drops I just use commands detecting if the block gets broken, which what tool it was broken and by which player with scoreboard and Inventory nbt data.
If anyone is curious on why it no longer works 1.17.1+ I spent longer then I would like to admit trying to figure out the reason why 1.17.1 broke it and found that it seems to be a matter of just changing the loot tables from "item": "minecraft:netherite_pickaxe" to "items": [ "minecraft:netherite_pickaxe" ] I went through every part of the code multiple times before realizing the loot table was the issue. Oh well. Hope this helped anyone who was having the same issue.
if the model is *meant* to be transparent then you can simply change the block that is under to one that will work. with this system, all that matters is that A) there is a block under that doesnt make the model dark and B) the block under has a loot table which is drops some item with the same tags given in the spawner loot table. It will actually work better as a method if the block broken *has* an item that naturally drops since u can just add the fake tags to that item. (PS: u probs woulda had this answered if u waited to watch the whole video since I explain how the loot table can be switched to another block)
This video was very interesting! I have also created custom blocks on my own channel but used an armour-stand-based solution. I found it very interesting to see how a different solution could yield such a similar result. If you don't mind, I might explore the item frame and mob spawner solution on my own channel some time in the future. Regardless, keep up the good work!
There's a tag for item frame that called Fixed if you set this true the frame can be stay in the air and if you place a block it will not break so you can use whatever block you want Edit: oh actually he used the tag in the datapack
Oh, I have an idea, if you detect time with the scoreboard and replace the item frames with glowing one at day time maybe it would possible to use any block you want?
This doesn't seem to work in the 1.17.1 update, as all barriers dropped by spawner blocks are tagged as if they are broken with a netherite pickaxe, no matter what you actually break it with, do you have a fix for this? or do you believe there is a separate issue
I know this comment is 8 months old, but if you are curious on why it no longer works I spent longer then I would like to admit trying to figure out the reason why 1.17.1 broke it and found that it seems to be a matter of just changing the loot tables from "item": "minecraft:netherite_pickaxe" to "items": [ "minecraft:netherite_pickaxe" ] I went through every part of the code multiple times before realizing the loot table was the issue. Oh well. Hope this helped.
Did you also look at mushrooms I think those also have over 100 unused states so they are good for adventure maps but placing other mushrooms next to it would break
Very cool video, keep up the great work! Have you considered the about 160 options of unused mushroom blocks as custom blocks? It’s very easy to implement them cause their blockupdate is a simple physics event that is very easy to cancel. In terms of performance they also have the important effect of cullfacing, so they do not need any more performance than stone or other blocks. Yes, they feel a little different to break but I think that’s a small thing considering how easy they are to implement and you don’t waste all the cool note blocks
If u heard my discussion I specifically said that most block states are not usable expect in plugins. iirc u can’t cancel physics events in vanilla minecraft
@@Cl0udWolf I see the problem... since I use denizen that never was a problem, but I’ve no experience with datapacks so this is good to know. Thank you
Im tempted to remove the textures of the waxed oxidized copper set for base block, its the most redundant set of blocks in the game (oxidized is the resting state of copper, so why would you wax it?)
i made custom blocks with glow item frames (i was originally using amor stands on fire), i know that they're weird when it's night / dark, but there are only few full blocks that are transparent, i tried with the spawner method but you can't change it's break/walk particles and it has always the same durability
did i hear him say we can make our ores glow with glowing item frames :P, he being like that is not what we want me being like thats totaly the best solution instead of transparent fullblocks. glowing obsidian ores :P
Your idea for a custom block. Is very interesting. I have a question. If the spawner used to Custom Block. There are a lot of them on server . Will the Server Tps drop?
wow. yeah this is complicated. makes me disapointed in mc for not having an easier way to add custom blocks. custom items are a lot easier than blocks. should be able to just recolor a regular block using an nbt tag or something.
still looking for a way to put a new texture on a barrel for blocks with GUIs. I made a solution that reimplements lighting using dyed armor and predicates mostly to see if I could, but I can’t bring myself to actually use it because of the performance impact. It’s not noticeable, but I know that it would cut into the allowable number of commands I could use for other things. :P
@@Cl0udWolf oh, I know for a fact they do. I had used fire, separated each face into separate leather armor pieces, and had them adjust their tint to the lighting. the terrible solution, but I wanted to see if I could. it's only something to be used for block entities with GUIs that would be used sparingly anyway, so some performance impact was acceptable in my eyes; a solution more akin to yours was explored for regularcustom blocks.
I'm Not Using Any Online Game Modding Maker Softwares for Making Online Game Mods. Like Minecraft Mod Maker or Block Creator. I'm Not Using Any of These Softwares. I'd Rather Make Custom Stuff and Add it in Minecraft from 3D Online Game Programming in Java Coding or Computer Online Files for 3D Object Making for Minecraft Custom Objects. 3D Software Art from Computer Online Files are for Making Custom Minecraft Blocks. Because Minecraft Blocks are 3-Dimensional. And 2D Software Art from Computer Online Files are for Making Custom Minecraft Items. Because Minecraft Items are Flat and 3D Pixelated
I don't understand how drop works. Where does the item dropped from and why does the spawner not drop a barrier when normally placed? (sorry for my English but I hope it is understandable)
@@ExayoPodloga there is a command that does either summon or loot spawn iirc oh I might be modifying a drop data of an item set to drop when U mine the spawner
@@Cl0udWolf first, in the function "destroy.mcfunction" there is the command "execute as @e[type = item, distance = .. 1.5, nbt = {Item: {tag: {custom_block: 1b}}}, sort = nearest, limit = 1] run tag @s add init "and where does this item come from? If I understood correctly, it is turned into a drop later. I don't know how to explain it, as I said before, my English is bad sorry for that
If I Made a Minecraft Custom Blocks and Items Someday. I'm Not Using Any Internet Game Mod Making Softwares Helps for Internet Game Moddings or Internet Game Custom Objects. I'd Rather Choose The Computer Online Game Files for Making Mods Instead. Even Though it's Impossible or Not. I will Try it Whether I Want to or Not
@@Cl0udWolf yes, but i still prefer it... Also, good job on the video, cool concept and somewhat comparable to a modded block except for breaking noise and particles and tool type.
Forgot to discuss the resource pack. Essentially it uses custom model data on the item frame. Odd numbers = item in the frame, even = item players get. It’s included in the download for reference.
Ah yes, custom model data on unchangeable entity models.
@@mathsupercat9021 no custom model data on an item that is put in an item frame. But the items are different model numbers so if the player gets it and puts it in a frame it looks normal
Using the spawner loot table and dropping that tagged item is a cool system! Great vid!
That’s actually not the point of this video. The loot table isn’t specific to spawners, in many cases u might find another block more suitable and less laggy. Maybe mushroom blocks if u don’t mind the mining speed and nature. If so just use same loot table for whatever that block is and the system will still work
I was thinking an observer block, but I'm not sure if it's transparent
@@verilen2985 u don’t want to use a block that has interact-ability
@@Cl0udWolf well you can set the observer to always be in the off state(via a command) so it doesn't give an output
@@verilen2985 idk how that fairs with block updates
“Lets mine it with a silk touch pickaahhxe... yaaaah”
Idk what I was saying it’s 11pm here
@@Cl0udWolf haha
Cant wait when Mojang adds custom blocks for datapacks
One can dream...
Life can be a dream~
In bedrock you can make new things with addons, but on java you can edit everything with datapacks
@@boris6069 doesn't java lets you add new biomes and dimensions?
@@raandomplayer8589 mhhh you're right
I made my first custom block today thanks to this! I was experimenting with the /stopsound command for removing glass breaking sound, but using a spawner for a hard block is way better! Mojang really needs to give us more translucent blocks. I tried using stairs for stone but is was difficult to work with it. Thanks again!
Very smart system! I'll give it a try at some point. The actual system he decides to use starts at 7:08 btw.
awesome stuff as always, looking forward to ore generation.
I would also add a sound played for when the "block" is placed down which makes it more believable, and one for when you break it too!
I might have to break these when I run out of blocks haha thanks, liked the video to save for later!
I think Armor stands are the best and here is why:
1. I can use any Base Block because Armor stands when on fire illuminate the block model
2. When putting the Item in an Item frame it isn't a big block which is a problem with the Item frame approach
3. Armor stands actually don't lag that much, I tried and placed like 1000+ and it didn't rlly affect my frame rate
and for the drops I just use commands detecting if the block gets broken, which what tool it was broken and by which player with scoreboard and Inventory nbt data.
If anyone is curious on why it no longer works 1.17.1+ I spent longer then I would like to admit trying to figure out the reason why 1.17.1 broke it and found that it seems to be a matter of just changing the loot tables from
"item": "minecraft:netherite_pickaxe"
to
"items": [
"minecraft:netherite_pickaxe"
]
I went through every part of the code multiple times before realizing the loot table was the issue. Oh well. Hope this helped anyone who was having the same issue.
thx a lot
what if your model has transparent pixels? it will show the block under
if the model is *meant* to be transparent then you can simply change the block that is under to one that will work. with this system, all that matters is that A) there is a block under that doesnt make the model dark and B) the block under has a loot table which is drops some item with the same tags given in the spawner loot table. It will actually work better as a method if the block broken *has* an item that naturally drops since u can just add the fake tags to that item. (PS: u probs woulda had this answered if u waited to watch the whole video since I explain how the loot table can be switched to another block)
Copper bulbs would’ve been a perfect replacement for the spawners if they didn’t have redstone interaction
The only problem I see with this is that these custom blocks will disappear if you are a few chunks away from them as they are actually entities.
This video was very interesting! I have also created custom blocks on my own channel but used an armour-stand-based solution. I found it very interesting to see how a different solution could yield such a similar result. If you don't mind, I might explore the item frame and mob spawner solution on my own channel some time in the future. Regardless, keep up the good work!
There's a tag for item frame that called Fixed if you set this true the frame can be stay in the air and if you place a block it will not break so you can use whatever block you want
Edit: oh actually he used the tag in the datapack
Yeah sadly fixed doesn’t prevent the darkening
Oh, I have an idea, if you detect time with the scoreboard and replace the item frames with glowing one at day time maybe it would possible to use any block you want?
@@theisotisback that doesnt help cause at night it will be pitch black
@@Cl0udWolf oh yea, you'r right
This doesn't seem to work in the 1.17.1 update, as all barriers dropped by spawner blocks are tagged as if they are broken with a netherite pickaxe, no matter what you actually break it with, do you have a fix for this? or do you believe there is a separate issue
I know this comment is 8 months old, but if you are curious on why it no longer works I spent longer then I would like to admit trying to figure out the reason why 1.17.1 broke it and found that it seems to be a matter of just changing the loot tables from
"item": "minecraft:netherite_pickaxe"
to
"items": [
"minecraft:netherite_pickaxe"
]
I went through every part of the code multiple times before realizing the loot table was the issue. Oh well. Hope this helped.
It would be so much easier if you could add custom blocks like custom items ._. Thanks mojang
Did you also look at mushrooms I think those also have over 100 unused states so they are good for adventure maps but placing other mushrooms next to it would break
Not useful for survival since u can’t prevent block updates
Where can I download the syntax file you used for .mcfuntion files in Sublime Text?
I started making my greatest project ever and I used this method before you published this video
Very cool video, keep up the great work!
Have you considered the about 160 options of unused mushroom blocks as custom blocks?
It’s very easy to implement them cause their blockupdate is a simple physics event that is very easy to cancel.
In terms of performance they also have the important effect of cullfacing, so they do not need any more performance than stone or other blocks. Yes, they feel a little different to break but I think that’s a small thing considering how easy they are to implement and you don’t waste all the cool note blocks
If u heard my discussion I specifically said that most block states are not usable expect in plugins. iirc u can’t cancel physics events in vanilla minecraft
@@Cl0udWolf I see the problem... since I use denizen that never was a problem, but I’ve no experience with datapacks so this is good to know. Thank you
@@jakobhumb4593 mods and plugins have many simpler methods to adding blocks
Had to turn the volume to 100 to hear 🔥
If you are in pre 1.13 and cant use note blocks you also can use Mushroom blockstates
Im tempted to remove the textures of the waxed oxidized copper set for base block, its the most redundant set of blocks in the game (oxidized is the resting state of copper, so why would you wax it?)
couldn't you use a glow item frame to prevent it from going dark?
It would be good to mojang add the ability off adding custom particles with custom model data
i made custom blocks with glow item frames (i was originally using amor stands on fire), i know that they're weird when it's night / dark, but there are only few full blocks that are transparent, i tried with the spawner method but you can't change it's break/walk particles and it has always the same durability
The glow thing is too weird tho especially for cave ores they stand out tooo much
WOW this is very AWESOME!!!
did i hear him say we can make our ores glow with glowing item frames :P, he being like that is not what we want me being like thats totaly the best solution instead of transparent fullblocks. glowing obsidian ores :P
Where should I put the "custom_blocks"(not pack) file in the ".minecraft" file?
Finally! A solution!!!
Nice video dude! but can you make a tutorial, how i can spawn it random in the ground ( like normal ores)??
Have to scan for blocks around a player and randomly replace the existing blocks
Have you considered using a double petrified slab as the base block?
It might obscure the lighting, but u can use any block as the base block as long as it’s transparent
how do i make more blocks with different drops and textures?
You say clavo at the beginning turn on cc and go to the time 00:01
Also y did you put the lobster in your video
Your idea for a custom block. Is very interesting. I have a question. If the spawner used to Custom Block. There are a lot of them on server . Will the Server Tps drop?
U can use spawners or another block that doesn’t darken. Obviously quantity of blocks in a small area will affect lag
wow. yeah this is complicated. makes me disapointed in mc for not having an easier way to add custom blocks. custom items are a lot easier than blocks. should be able to just recolor a regular block using an nbt tag or something.
If all blocks had nbt tags the game would be a whole lot slower
still looking for a way to put a new texture on a barrel for blocks with GUIs. I made a solution that reimplements lighting using dyed armor and predicates mostly to see if I could, but I can’t bring myself to actually use it because of the performance impact. It’s not noticeable, but I know that it would cut into the allowable number of commands I could use for other things. :P
check if barrels cause the darkening effect if they do idk, only method then is armorstands on fire
@@Cl0udWolf oh, I know for a fact they do. I had used fire, separated each face into separate leather armor pieces, and had them adjust their tint to the lighting. the terrible solution, but I wanted to see if I could. it's only something to be used for block entities with GUIs that would be used sparingly anyway, so some performance impact was acceptable in my eyes; a solution more akin to yours was explored for regularcustom blocks.
It doesn't seem to be working in 1.17.1
Yessss
Hi, if I would like to check via command if this custom block is the one I am looking for (e.g. using execute if block command) how would I do that?
since it is entity based u can use execute as @e[tag=custom_block,tag=...] to find it
or if entity @s[tag=...]
I'm Not Using Any Online Game Modding Maker Softwares for Making Online Game Mods. Like Minecraft Mod Maker or Block Creator. I'm Not Using Any of These Softwares. I'd Rather Make Custom Stuff and Add it in Minecraft from 3D Online Game Programming in Java Coding or Computer Online Files for 3D Object Making for Minecraft Custom Objects. 3D Software Art from Computer Online Files are for Making Custom Minecraft Blocks. Because Minecraft Blocks are 3-Dimensional. And 2D Software Art from Computer Online Files are for Making Custom Minecraft Items. Because Minecraft Items are Flat and 3D Pixelated
Is there a way to make these custom ores or similar things generate in your world?
What about fortune in the case of ores? Just curious
Would it be possible to create a custom block that uses the model of plants?(grass, mushrooms, amethyst crystals)
Sure just use a different model basis and a different block for the hitbox
@@Cl0udWolfOk, thanks!
Would the item frame be darkened by solid blocks, if it has been given the new glowing stuff from the glow squid?
the glow item frame looks too fake and obtuse in caves
@@Cl0udWolf Sadge
I don't understand how drop works. Where does the item dropped from and why does the spawner not drop a barrier when normally placed? (sorry for my English but I hope it is understandable)
not sure what u mean, the item drops by the command that is ran when it detects that there is air
@@Cl0udWolf I mean where this drop came from. There is no command that summons this item (or maybe I'm stupid)
@@ExayoPodloga there is a command that does either summon or loot spawn iirc oh I might be modifying a drop data of an item set to drop when U mine the spawner
@@Cl0udWolf first, in the function "destroy.mcfunction" there is the command "execute as @e[type = item, distance = .. 1.5, nbt = {Item: {tag: {custom_block: 1b}}}, sort = nearest, limit = 1] run tag @s add init "and where does this item come from? If I understood correctly, it is turned into a drop later. I don't know how to explain it, as I said before, my English is bad sorry for that
@@ExayoPodloga it comes from the loot table for spawners
What about to use magma block for last method
Yes!
If I Made a Minecraft Custom Blocks and Items Someday. I'm Not Using Any Internet Game Mod Making Softwares Helps for Internet Game Moddings or Internet Game Custom Objects. I'd Rather Choose The Computer Online Game Files for Making Mods Instead. Even Though it's Impossible or Not. I will Try it Whether I Want to or Not
But i cant make wood, right?
(I will prbly use this technique for plugins, so it doesnt really matter.)
I think at some point he said that the custom_block 2 score is wood
If u mean custom wood u can but u need to add a new block that is breakable and gives the tags and is transparent
Amazing
dose any one know how to give custom blocks tags like the wood tag
Can you turn off the XP when using a silk touch pickaxe?
Yes I do that in the end of the vid
@@Cl0udWolf Ok nice
You will Understand My Explanation
I still prefer mods for custom blocks/items
Yeah but that’s a mod
@@Cl0udWolf yes, but i still prefer it... Also, good job on the video, cool concept and somewhat comparable to a modded block except for breaking noise and particles and tool type.
@@redpug5042 u can make the block underneath any transparent block
@@Cl0udWolf Hmmm... uhhh........ in a mod you can make custom tile entities :D idk what i'm getting at....
Yea I prefer modding too, kinda switching over coz most of the datapack stuff easily switches over to modding which is really handy.
thanks
wow
Is it possible to make custom blocks with command blocks? Without data packs
No u kind of need the loot tables
Sad unnamed noises
@@mika34653 oh no! You have to put EFFORT in to make something cool? Unbelievable!
@@YouHaveTrouble I hav trouble?
POG
Noice
Top
Unlimited XP
2:10, Discord
0:28
Bots in the comments?
Nope
@@Cl0udWolf There will be... eventually
36th
You stole this from Morbytogan.
I didn’t steal anything from anyone. I worked on the theory WITH morby lots of what he is doing is based on stuff we tested
It would be good to mojang add the ability off adding custom particles with custom model data
where do put "custom_blocks" folder? do i put it inside the "custom blocks resource pack" folder?