MCreator: Clickable pixels on blocks | 2022.3
Welcome back to another MCreator tutorial. Today I will be covering how to get the exact location you right-click on the block's face of a custom block. Sadly though vanilla blocks or other mod's blocks can't be tested for like this but it can be used within your own modification, and using tags you can add some support for other mods to use in your own mod.
Some examples of this script being used are listed below.
- Texture-based buttons.
- Custom functions based on the part of the block you right-click on.
- Block rotation based on the part you right-click on.
- Different sounds that can play for each shape.
- Toggle a block on or off.
- Open different GUIs based on the part you click on.
- And much more.
► DOWNLOADS
The project files including the charts I made for calculating each axis point can be found on the GitHub page below.
https://github.com/MCreator-Examples/Projects/discussions/93
► CHAPTERS
0:00 - Intro
0:10 - NWT Projects Channel
0:45 - In-game Example
3:38 - Workspace Layout
4:18 - Main Right-click Procedure
4:58 - Block Trigger
5:17 - Hit Direction Dependencies
5:55 - Block Direction Procedures
7:02 - Block Pixel Charts
10:46 - Changing The Areas
12:12 - Testing Our Changes
13:14 - Some Ideas For Using The Script
13:54 - Watch Next
► OFFICIAL SITES
● NWTG Website
https://www.northwesttreesgaming.com
● Discord Server Page
https://www.northwesttreesgaming.com/discord
► TAGS
#northwesttreesgaming
#blockbench
#mcreator
#minecraftforge
#minecraft
#minecraftmods
Other Videos By NorthWestTrees MCreator
Other Statistics
Minecraft Statistics For NorthWestTrees MCreator
There are 2,645,520 views in 570 videos for Minecraft. This game accounts for over 5 days of watchable video on his channel, or 89.53% of the total watchable video for Minecraft on NorthWestTrees MCreator's YouTube channel.