#Display values on Armor Stand to get a block.
1 messages · Page 1 of 1 (latest)
Armorstands will have the same issue. They're just positioned a block higher so they will be darkened when the block above is solid
i thought if they were markers they dont do that?
My 3 preferred ways to make a block are:
- Use block displays and a barrier block. You can then implement the breaking through an interaction so the player has to punch the block 3 times
Pros
- Pretty easy
- The block updates to any light
- Isn't piston pushable
Cons
- the breaking is different
- you can't place blocks against this block
- pretty laggy since you have multiple entities here
- Use a different breakable transparent block.
** Pros **
- even easier
- also updates to light
- Less laggy
Cons
- you'll have to deal with the block properties of the transparent block
- Is piston pushable so you'll have to handle that too
- Use double slabs as blocks.
I basically replace the double slab version of a slab type. Then when a player tries to create a double slab by placing a slab on another one, I replace the double slabs with the full block variant.
The only downsides are:
- Compatability with other datapacks (loot table wise too)
- A small flicker when placing a double slab
- The block hitbox is always a full block
https://www.youtube.com/watch?v=mWoKlf-Jo3U&list=PL25JedFWY8iK1usRCd2qMu59pt4WSixE-&index=1
Finally found a decent way to add custom building blocks with datapacks.
I basically replace the double slab version of a slab type. Then when player try to create a double slab by placing a slab on another one, I replace the double slabs with the full block variant.
The only downsides are:
- Compatability with other datapacks (loot table wise...
Hmm I'm not sure, might have to test that. They are pretty laggy though
The issue is, its a custom workbench with a barrel inside..
Ooh wait does a marker armorstand even render?
i mean i got this working, its an armour stand with marker:1b and invisible:1b
turns out block bench has a preset for custom blocks in this style
what happens when you place a block ontop of the blast furnace?
yea I thought so
I need some way of hiding the barrel as my block
would it be an option to use a hopper of some sorts?
why a hopper?
cause it's transparent cutout mipped
ohhh
i mean for this block specificly not really
the UI is gonna be similar to that of a crafting table, with extra features
hmm a hopper only has like 5 slots in a row
Yea
Another option would be (I sometimes do that) to put some sort of candle or light ish decoration on your workbench and then set the light nbt value of the block for blockto 15. This always makes the block have a brightness of 15
I might just suck up the darkness above until i find something better
ill leave this open for a bit if anyone else has any ideas
wdym different transparent block?
Different to barrier I assume
glass block etc..
ah ok
1 could be shulker instead of barrier
way better since you have hitbox control
true but... More entities = more lag and you'll also need an item display for the shulker to ride, otherwise it will teleport when the block underneath gets broken or water flows through the block
still is preferred if your block isnt a building block that will be placed 100 times