Posted August 10, 20169 yr I don't get this... these two values, pos and thisPos, are exactly the same if the block is being looked at, and the log says so too, but they are apparently not equal??? Code: https://github.com/williambl/EssentialFeatures/blob/master/src/main/java/net/anti_quark/EssentialFeatures/common/tileentity/TileEntityViewedBlock.java
August 10, 20169 yr Java uses objects for checking if something is equal instead you should check if pos.getX() = thispos.getX() etc. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.