Skip to content

Instantly share code, notes, and snippets.

Sourced from @veka. from the Bedrock Add-Ons discord.

Ok so here are the facts:

  1. Material format was changed multiple times in previous previews - they added new properties which aren't being used anywhere in vanilla. Why would they add them and never use? And one of the added unused properties allows to overwrite texture properties through materials that are usually supplied by the game directly, why would they add that overwrite property to materials if they can (and always do) just set it from the game directly?
  2. Some time ago, a new function appeared in shader source code
struct StandardSurfaceOutput {
    vec3 Albedo;
    float Alpha;
 float Metallic;
[
{
"pack_id" : "985d1ee4-0e9d-49de-9a99-e208adc08d0c",
"version" : [ 1, 0, 0 ]
}
]
@SmokeyStack
SmokeyStack / block_id.txt
Last active August 9, 2022 21:13
1.19.20
minecraft:acacia_button
minecraft:acacia_door
minecraft:acacia_fence_gate
minecraft:acacia_pressure_plate
minecraft:acacia_stairs
minecraft:acacia_standing_sign
minecraft:acacia_trapdoor
minecraft:acacia_wall_sign
minecraft:activator_rail
minecraft:air
Glare:
Pros:
- One of the F3 functionality in mob farm. Useful for Bedrock players.
- Can be used in lush cave builds due to its similarity to an azalea bush.
- Maybe useful for finding caves?
Cons:
- Counting: exists.
- If you accidently lead it into your mob farm, it's going to be a hassle to take it out.
Allay:
@SmokeyStack
SmokeyStack / Item.py
Last active September 22, 2021 16:16
MCAddonJSONGenerator
from pathlib import Path
import json
import os
identifier = input("Identifier:")
displayName = input("Display Name:")
cooldownDur = float(input("Cooldown Duration:"))
itemID = identifier.split(":", 2)
mainPath = 'output'
Path(mainPath).mkdir(parents=True, exist_ok=True)