Having to move to your Katrina Michael monster today and teach you how to add you will ever own custom pressure plate to the game so we’re gonna crack right into it it’s relatively simple this one and all it is is block tin pressure plate and it’s gonna extend lock and Then it’s gonna be weighted pressure plate so bot pressure plate weighted so it basically means that it has a weight and also has a maximum weight which often comes again just put one to ten the material is going to be material duck iron and the max one is just gonna Be ten for me that’s the max weight so if we take a look at this and on the current version I’m using it’s just a max weight I’m not too sure a default one is then you just want to do string and localized name in a constructor of This and then this dot set and localized name and localized name we’re also going to want to make this public here just so that we can access it out of size of this package this dot set registry name registry name new resource and that’s pretty much a stern now there’s a couple Of methods that we could override and the first one being compute redstone strength I mean compute redstone strength I’m not gonna order this but if we take a look at the computer edge turn trip which is here it just works out the weight from the entity now I might alter this I Don’t know another method that you could also around is play clicks off sound and play click on sound I’m not going to this time I’m gonna leave it how it is and yes so we’re now going to go into a mod blocks class so we’re gonna add up Tin crusher plate in here and tin pressure plate it equals a new block chain pressure plate and put pressure and school plate I’m gonna need 10 actually so tune one school pressure plate and then just register the block like normal so register block and tin pressure plate and then just register to Render so register render and that’s just tin pressure plate like so now I’m just gonna refresh my resources you can download all of the models in a description of this video and a block state so you can get your block working if you’re using the normal block Pressure plate however it will be a different model but yeah you can get it from the default resource pack okay so the game showed up so if you go inside of our test world it should now be able to try out our pressure plate so let’s Go grab it from our creative menu so over here in the blocks we have our tin pressure plate which you can place down and we’ve now got a pressure plate it does exactly what you want it to thank you has known like comment and subscribe I am out Video Information
This video, titled ‘Minecraft Modding Tutorial | Custom Pressure Plate (1.10.2,1.11.2)’, was uploaded by CJMinecraft on 2017-02-13 17:30:03. It has garnered 638 views and 17 likes. The duration of the video is 00:04:11 or 251 seconds.
Today we add our own custom pressure plate!
Files – https://goo.gl/JnfuYx
Please support me if you can – https://www.patreon.com/cjminecraft Discord – https://discord.gg/ZvhUKkd
Don’t forget to like, comment and subscribe!
Music by Ninety9Lives Elektronomia – Imagination Video Link: http://99l.tv/Imagination Channel: http://99l.tv/Subscribe Album Download Link: http://99l.tv/GoldenGun
Links: ►GitHub – https://goo.gl/c4JlXe ►My Website – http://cjminecraft.theclever.me/ ►Modding Tutorial Playlist – https://goo.gl/bq6sgx ►Facebook – https://www.facebook.com/CJMinecraft01/ ►Google Plus – https://goo.gl/3n1umj ►SoundCloud – https://soundcloud.com/speed2-pc/ ►MCAmino – http://goo.gl/LzwZ9W ►Votable – http://www.votable.com/CJMinecraft
For modding help or if you want to contact me, email me at [email protected]
My Schedule: Monday or Thursday: ►Modding Tutorial