Custom Blocks in Minecraft

แชร์
ฝัง
  • เผยแพร่เมื่อ 27 ธ.ค. 2024

ความคิดเห็น • 147

  • @Cl0udWolf
    @Cl0udWolf  3 ปีที่แล้ว +25

    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
      @mathsupercat9021 3 ปีที่แล้ว +1

      Ah yes, custom model data on unchangeable entity models.

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว +4

      @@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

  • @TimberForge
    @TimberForge 3 ปีที่แล้ว +67

    Using the spawner loot table and dropping that tagged item is a cool system! Great vid!

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว +8

      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

    • @verilen2985
      @verilen2985 3 ปีที่แล้ว

      I was thinking an observer block, but I'm not sure if it's transparent

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว +3

      @@verilen2985 u don’t want to use a block that has interact-ability

    • @verilen2985
      @verilen2985 3 ปีที่แล้ว

      @@Cl0udWolf well you can set the observer to always be in the off state(via a command) so it doesn't give an output

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว

      @@verilen2985 idk how that fairs with block updates

  • @freakoutboy1492
    @freakoutboy1492 3 ปีที่แล้ว +50

    “Lets mine it with a silk touch pickaahhxe... yaaaah”

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว +17

      Idk what I was saying it’s 11pm here

    • @freakoutboy1492
      @freakoutboy1492 3 ปีที่แล้ว +1

      @@Cl0udWolf haha

  • @andreaspatsalides1914
    @andreaspatsalides1914 3 ปีที่แล้ว +50

    Cant wait when Mojang adds custom blocks for datapacks

    • @5uperM
      @5uperM 3 ปีที่แล้ว +5

      One can dream...

    • @raandomplayer8589
      @raandomplayer8589 3 ปีที่แล้ว +2

      Life can be a dream~

    • @boris6069
      @boris6069 3 ปีที่แล้ว +1

      In bedrock you can make new things with addons, but on java you can edit everything with datapacks

    • @raandomplayer8589
      @raandomplayer8589 3 ปีที่แล้ว +1

      @@boris6069 doesn't java lets you add new biomes and dimensions?

    • @boris6069
      @boris6069 3 ปีที่แล้ว

      @@raandomplayer8589 mhhh you're right

  • @six-slime
    @six-slime 3 ปีที่แล้ว +9

    awesome stuff as always, looking forward to ore generation.

  • @yupol_
    @yupol_ 3 ปีที่แล้ว +3

    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!

  • @Whimzee
    @Whimzee 3 ปีที่แล้ว +1

    Very smart system! I'll give it a try at some point. The actual system he decides to use starts at 7:08 btw.

  • @bluuns
    @bluuns 3 ปีที่แล้ว +5

    I might have to break these when I run out of blocks haha thanks, liked the video to save for later!

  • @btarg1
    @btarg1 ปีที่แล้ว

    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!

  • @electriceel-archive
    @electriceel-archive 3 ปีที่แล้ว +6

    what if your model has transparent pixels? it will show the block under

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว +7

      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)

  • @misteryblock4019
    @misteryblock4019 2 ปีที่แล้ว +3

    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.

  • @redstone_mason
    @redstone_mason 3 ปีที่แล้ว +2

    Where can I download the syntax file you used for .mcfuntion files in Sublime Text?

  • @2swift4ducks
    @2swift4ducks 3 ปีที่แล้ว

    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.

  • @mypkamax
    @mypkamax 3 ปีที่แล้ว +1

    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.

  • @nathan22211
    @nathan22211 3 ปีที่แล้ว +1

    couldn't you use a glow item frame to prevent it from going dark?

  • @theisotisback
    @theisotisback 3 ปีที่แล้ว +2

    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

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว

      Yeah sadly fixed doesn’t prevent the darkening

    • @theisotisback
      @theisotisback 3 ปีที่แล้ว

      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?

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว

      @@theisotisback that doesnt help cause at night it will be pitch black

    • @theisotisback
      @theisotisback 3 ปีที่แล้ว

      ​@@Cl0udWolf oh yea, you'r right

  • @ZacNVR
    @ZacNVR 3 ปีที่แล้ว +1

    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!

  • @colevilleproductions
    @colevilleproductions ปีที่แล้ว

    Copper bulbs would’ve been a perfect replacement for the spawners if they didn’t have redstone interaction

  • @tjeerddebondt9762
    @tjeerddebondt9762 3 ปีที่แล้ว +1

    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

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว

      Not useful for survival since u can’t prevent block updates

  • @뻘짓잉어
    @뻘짓잉어 3 ปีที่แล้ว +1

    WOW this is very AWESOME!!!

  • @beanass7543
    @beanass7543 3 ปีที่แล้ว +1

    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

    • @misteryblock4019
      @misteryblock4019 2 ปีที่แล้ว

      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.

  • @enderfun2852
    @enderfun2852 3 ปีที่แล้ว

    I started making my greatest project ever and I used this method before you published this video

  • @jakobhumb4593
    @jakobhumb4593 3 ปีที่แล้ว +1

    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

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว +1

      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

    • @jakobhumb4593
      @jakobhumb4593 3 ปีที่แล้ว +1

      @@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

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว +1

      @@jakobhumb4593 mods and plugins have many simpler methods to adding blocks

  • @ragdude7323
    @ragdude7323 3 ปีที่แล้ว +4

    Yessss

  • @benwiehe5222
    @benwiehe5222 3 ปีที่แล้ว +1

    Have you considered using a double petrified slab as the base block?

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว +1

      It might obscure the lighting, but u can use any block as the base block as long as it’s transparent

  • @boris6069
    @boris6069 3 ปีที่แล้ว

    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

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว

      The glow thing is too weird tho especially for cave ores they stand out tooo much

  • @gradypulley694
    @gradypulley694 ปีที่แล้ว

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

  • @dirtbagpoteddirt8202
    @dirtbagpoteddirt8202 3 ปีที่แล้ว

    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

  • @lucasinatur
    @lucasinatur 3 ปีที่แล้ว +4

    Finally! A solution!!!

  • @the_m_reaper3521
    @the_m_reaper3521 2 ปีที่แล้ว

    how do i make more blocks with different drops and textures?

  • @3RR0R_THE_MODDER
    @3RR0R_THE_MODDER 2 ปีที่แล้ว

    What about fortune in the case of ores? Just curious

  • @_The_Back_
    @_The_Back_ 2 ปีที่แล้ว

    Where should I put the "custom_blocks"(not pack) file in the ".minecraft" file?

  • @2Craft_
    @2Craft_ 3 ปีที่แล้ว +1

    Nice video dude! but can you make a tutorial, how i can spawn it random in the ground ( like normal ores)??

    • @samuelhulme8347
      @samuelhulme8347 3 ปีที่แล้ว

      Have to scan for blocks around a player and randomly replace the existing blocks

  • @TheMaither
    @TheMaither 3 ปีที่แล้ว

    What about to use magma block for last method

  • @hldfgjsjbd
    @hldfgjsjbd 3 ปีที่แล้ว

    It doesn't seem to be working in 1.17.1

  • @colevilleproductions
    @colevilleproductions 3 ปีที่แล้ว

    Is there a way to make these custom ores or similar things generate in your world?

  • @SpoiledBread24
    @SpoiledBread24 3 ปีที่แล้ว +2

    Yes!

  • @r4ztm
    @r4ztm 10 หลายเดือนก่อน

    Had to turn the volume to 100 to hear 🔥

  • @antipastamony
    @antipastamony 3 ปีที่แล้ว

    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
      @Cl0udWolf  3 ปีที่แล้ว

      check if barrels cause the darkening effect if they do idk, only method then is armorstands on fire

    • @antipastamony
      @antipastamony 3 ปีที่แล้ว

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

  • @runkelpokk9
    @runkelpokk9 3 ปีที่แล้ว

    If you are in pre 1.13 and cant use note blocks you also can use Mushroom blockstates

  • @AbsorbedBarrel
    @AbsorbedBarrel 3 ปีที่แล้ว

    Would it be possible to create a custom block that uses the model of plants?(grass, mushrooms, amethyst crystals)

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว

      Sure just use a different model basis and a different block for the hitbox

    • @AbsorbedBarrel
      @AbsorbedBarrel 3 ปีที่แล้ว

      @@Cl0udWolfOk, thanks!

  • @teamfakem.6976
    @teamfakem.6976 3 ปีที่แล้ว +1

    Amazing

  • @ExayoPodloga
    @ExayoPodloga 2 ปีที่แล้ว

    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)

    • @Cl0udWolf
      @Cl0udWolf  2 ปีที่แล้ว

      not sure what u mean, the item drops by the command that is ran when it detects that there is air

    • @ExayoPodloga
      @ExayoPodloga 2 ปีที่แล้ว

      ​@@Cl0udWolf I mean where this drop came from. There is no command that summons this item (or maybe I'm stupid)

    • @Cl0udWolf
      @Cl0udWolf  2 ปีที่แล้ว

      @@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

    • @ExayoPodloga
      @ExayoPodloga 2 ปีที่แล้ว

      @@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

    • @Cl0udWolf
      @Cl0udWolf  2 ปีที่แล้ว

      @@ExayoPodloga it comes from the loot table for spawners

  • @ThomasBowman
    @ThomasBowman 3 ปีที่แล้ว

    Would the item frame be darkened by solid blocks, if it has been given the new glowing stuff from the glow squid?

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว

      the glow item frame looks too fake and obtuse in caves

    • @ThomasBowman
      @ThomasBowman 3 ปีที่แล้ว

      @@Cl0udWolf Sadge

  • @runkelpokk9
    @runkelpokk9 3 ปีที่แล้ว +2

    It would be so much easier if you could add custom blocks like custom items ._. Thanks mojang

  • @khao9377
    @khao9377 3 ปีที่แล้ว

    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?

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว

      U can use spawners or another block that doesn’t darken. Obviously quantity of blocks in a small area will affect lag

  • @ernestreynolds64
    @ernestreynolds64 3 ปีที่แล้ว

    It would be good to mojang add the ability off adding custom particles with custom model data

  • @grzdylu200
    @grzdylu200 3 ปีที่แล้ว

    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?

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว +1

      since it is entity based u can use execute as @e[tag=custom_block,tag=...] to find it
      or if entity @s[tag=...]

  • @thegamingdead3657
    @thegamingdead3657 3 ปีที่แล้ว

    dose any one know how to give custom blocks tags like the wood tag

  • @Wawwior
    @Wawwior 3 ปีที่แล้ว

    But i cant make wood, right?
    (I will prbly use this technique for plugins, so it doesnt really matter.)

    • @oxey_
      @oxey_ 3 ปีที่แล้ว

      I think at some point he said that the custom_block 2 score is wood

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว

      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

  • @Teomaniac
    @Teomaniac 3 ปีที่แล้ว +1

    Noice

  • @julianthaler2741
    @julianthaler2741 3 ปีที่แล้ว

    Can you turn off the XP when using a silk touch pickaxe?

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว

      Yes I do that in the end of the vid

    • @julianthaler2741
      @julianthaler2741 3 ปีที่แล้ว

      @@Cl0udWolf Ok nice

  • @mika34653
    @mika34653 3 ปีที่แล้ว +1

    POG

  • @unforceentertainment3195
    @unforceentertainment3195 ปีที่แล้ว

    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

  • @mika34653
    @mika34653 3 ปีที่แล้ว

    Is it possible to make custom blocks with command blocks? Without data packs

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว

      No u kind of need the loot tables

    • @mika34653
      @mika34653 3 ปีที่แล้ว

      Sad unnamed noises

    • @YouHaveTrouble
      @YouHaveTrouble 3 ปีที่แล้ว

      @@mika34653 oh no! You have to put EFFORT in to make something cool? Unbelievable!

    • @mika34653
      @mika34653 3 ปีที่แล้ว

      @@YouHaveTrouble I hav trouble?

  • @adgamehead
    @adgamehead 3 ปีที่แล้ว +1

    wow

  • @jexl1059
    @jexl1059 3 ปีที่แล้ว +1

    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.

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว

      If all blocks had nbt tags the game would be a whole lot slower

  • @irauanbrum2672
    @irauanbrum2672 3 ปีที่แล้ว +1

    Top

  • @Gamiboi612
    @Gamiboi612 3 ปีที่แล้ว

    thanks

  • @cyancaelus6456
    @cyancaelus6456 2 ปีที่แล้ว

    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

  • @cyancaelus6456
    @cyancaelus6456 2 ปีที่แล้ว

    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

  • @redpug5042
    @redpug5042 3 ปีที่แล้ว +1

    I still prefer mods for custom blocks/items

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว +3

      Yeah but that’s a mod

    • @redpug5042
      @redpug5042 3 ปีที่แล้ว +1

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

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว +2

      @@redpug5042 u can make the block underneath any transparent block

    • @redpug5042
      @redpug5042 3 ปีที่แล้ว +1

      @@Cl0udWolf Hmmm... uhhh........ in a mod you can make custom tile entities :D idk what i'm getting at....

    • @Magnogen
      @Magnogen 3 ปีที่แล้ว +1

      Yea I prefer modding too, kinda switching over coz most of the datapack stuff easily switches over to modding which is really handy.

  • @cyancaelus6456
    @cyancaelus6456 2 ปีที่แล้ว

    You will Understand My Explanation

  • @prometheuszero9
    @prometheuszero9 2 ปีที่แล้ว

    0:28

  • @nobledame7110
    @nobledame7110 3 ปีที่แล้ว

    2:10, Discord

  • @ThatsNightmare_
    @ThatsNightmare_ 3 ปีที่แล้ว

    Unlimited XP

  • @brycepersello5331
    @brycepersello5331 3 ปีที่แล้ว +1

    36th

  • @FungIsSquish
    @FungIsSquish 3 ปีที่แล้ว

    Bots in the comments?

  • @seberrino8506
    @seberrino8506 3 ปีที่แล้ว

    You stole this from Morbytogan.

    • @Cl0udWolf
      @Cl0udWolf  3 ปีที่แล้ว +1

      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

  • @PoweringBacon
    @PoweringBacon 2 ปีที่แล้ว

    where do put "custom_blocks" folder? do i put it inside the "custom blocks resource pack" folder?

  • @ernestreynolds64
    @ernestreynolds64 3 ปีที่แล้ว

    It would be good to mojang add the ability off adding custom particles with custom model data