
Vinit
Members-
Content Count
2 -
Joined
-
Last visited
Community Reputation
0 NeutralAbout Vinit
-
Rank
Tree Puncher
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
-
i am new to forge, i m making a mod, it needs to know if player is in end dimension, i used this code public void playerlocation (){ if (player.worldObj.provider.dimensionId = 1) { } but it highlights the player as red color, what am i missing my full code + its in a new java class package com.example; import net.minecraft.entity.Entity; import net.minecraft.entity.*; public class Listeners { public void playerlocation (){ if (player.worldObj.provider.dimensionId = 1) { } }
-
Vinit joined the community
-
I am working on a new block, which needs to see if the player is in a specific dimension. So how can I do that?