Everything posted by Failender
-
[1.8] Change item texture to use a base texture and a GL Texture
pastebin is fine
-
Can't find boat entity :/
well you have two choices. 1. dont do it, start with sth easier 2. learn a lot of java, then come back.
-
Can't find boat entity :/
if u are using eclipse to Ctrl+Shft+T, it will open a search window
-
itemStack.setStackDisplayName not working
- [1.7.10]Get the side of the block in which the player is pointing at
public boolean onItemUseFirst(ItemStack stack, EntityPlayer player, World world, BlockPos pos, EnumFacing side, float hitX, float hitY, float hitZ) { return false; } found this in 1.8 . mb u can find it in 1.7 too- [1.7.10] Crash on LivingUpdateEvent
Dont do the EntityUpdate code on client side. only do it on server side.- [1.7.10]Get the side of the block in which the player is pointing at
I know that the PlayerInteractEvent gives u an EnumFcing with it. So I am pretty sure that there must be a method in ur Item class that gives u an enum facing u can use.- Pay for code?
because a copy of terraria is worth hours of coding x)- [1.7.10]Set a block on a server from client gui
I literally can't even... ...think of an appropriate meme to post now. Just speechless. let me help you out. If u say we cant understand ur code dont ask for help. thank you.- [1.7.10]Set a block on a server from client gui
diesieben has more understanding of minecraft and modding then u might ever have so dont come up with u dont understand the code if u have no idea what u r doing.- [1.7.10] A quick question about packets
you dont need to write or read anything from the buffer. if u just need a message that is like "update now!" and u dont need more information go ahead- [1.7.10] A quick question about packets
there is NO need to send a string if u dont use it. remove it.- [1.7.10] A quick question about packets
show the crash log and how u send the packet- [1.7.10] A quick question about packets
to create a message u need to use the constructor with the argu,ments. the empty is for forge. there cant be a npe- [SOLVED]Get the width/height of an image loaded from a resourcelocation.
yes.- [SOLVED]Get the width/height of an image loaded from a resourcelocation.
how about u find it out urself? Learn how to use sysos for debugging please.- [1.7.10] A quick question about packets
1. Dont use Minecraft.getMinecraft on a server, the class is client side only 2. How is that a packet class? Wheres ur IMessage ,wheres the IMessageHandler, what is this?- [SOLVED]Get the width/height of an image loaded from a resourcelocation.
why are you building the path urself? ResourceLocation.getResourcePath should give u the path u need to create a new File- [1.7.10]Set a block on a server from client gui
- [SOLVED]Get the width/height of an image loaded from a resourcelocation.
Im not sure if this is the best way, but the ResourceLocation also gives u the absolute/relative path for JavaIO. so u can go ahead, load the image inside an buffered image (goolge is your friend) and call the methods for getting width and height there. but java io is expensive so dont do this a lot.- [1.7.10] A quick question about packets
I dont know about all vanilla packets out of my head. either u find a vanilla one u can send or u need to create a custom one- [1.7.10]Set a block on a server from client gui
you cant and you dont need. if you want to change the world the player is currently in simply go and get the worldObj from the player. the handleMessage of the imessagehandler gives u an context ctx. so just go ctx.getServerHandler().playerEntity.worldObj. I might be wrong with some naming here, search ur ide- [1.7.10]Set a block on a server from client gui
http://www.minecraftforge.net/forum/index.php/topic,20135.0.html- [1.7.10] A quick question about packets
define "update" but yes. i guess u need packets.- [1.7]What item can I look at to see how to implement damage-specific textures?
if you are opening a thread always write the version u are in helps a lot. - [1.7.10]Get the side of the block in which the player is pointing at
IPS spam blocked by CleanTalk.
Important Information
By using this site, you agree to our Terms of Use.