minecraft-python / models /pressure_plate.py
Minecraft3193092's picture
Upload 23 files
8ebbcd6
raw
history blame contribute delete
501 Bytes
transparent = True
is_cube = False
glass = False
colliders = []
vertex_positions = [
[ 0.5, -0.4375, 0.5, 0.5, -0.4375, -0.5, -0.5, -0.4375, -0.5, -0.5, -0.4375, 0.5], # top
[-0.5, -0.4375, 0.5, -0.5, -0.4375, -0.5, 0.5, -0.4375, -0.5, 0.5, -0.4375, 0.5], # bottom
]
tex_coords = [
[0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0],
[0.0, 1.0, 0.0, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 0.0],
]
shading_values = [
[1.0, 1.0, 1.0, 1.0],
[0.4, 0.4, 0.4, 0.4],
]