minecraft

Block textures and block names not loading minecraft forge

走远了吗. 提交于 2019-12-24 16:48:00
问题 I am making a mod for minecraft but I can't get the textures to load: Also the names dont show up correctly (tile.Yarrite Ore.Name instead of Yarrite Ore): here is the code I used to Create the block(YarriteOre.java): package com.NoNameYetMod.common; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.creativetab.CreativeTabs; public class YarriteOre extends Block{ public YarriteOre

Max memory you can give to java? [closed]

↘锁芯ラ 提交于 2019-12-24 15:46:15
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I run a mine craft server on a 32 bit Ubuntu system if I upgrade to64 bit what is the max memory I can give to java? I want it to have about 12 gig of ram but I can't do that on 32bit 回答1: There is effectively no maximum in the amount of ram a 64-bit system can address. You will be stopped only by your computer

minecraft: How to get coordinates of blocks inside selection

。_饼干妹妹 提交于 2019-12-24 07:38:42
问题 For a Loot Plugin i need all the coordinates of chests in my prebuilt world. To add them to the plugins config. I am not programming the plugin, i am just using it, i just need a way to get multiple coordinates for specific blocks in a world. OR If it is possible to use worldedit and replace chests with chests that have nbt tags i can completely skip the plugin part and use the vanilla loot tables. But i haven't yet found a way to setblocks with nbt data using worldedit. I was thinking about

Upgrading Gradle

浪尽此生 提交于 2019-12-23 20:53:05
问题 I am fully aware that there are pages on the Gradle website that say how to upgrade, but only from 4.x and up. I am trying to follow a tutorial in making a simple 'my first' Minecraft mod. In it, you are told to install forge 1.7.10, which, from what I understand runs on Gradle 2.0. In order for me to continue with the tutorial, after some digging, it appears that Gradle 2.0 is not compatible with JDK 12.0.2, but I'm not entirely sure how to solve this. any help is much 'preciated. 回答1:

Minecraft Forge EntityJoinWorldEvent returns Wrong Location! Error

淺唱寂寞╮ 提交于 2019-12-23 09:58:09
问题 Using Forge 1.8.9 in Eclipse (Mars.1 Release (4.5.1)) in local development environment. I'm trying to set a player's location every time they join or re-join a world. It always works the first time (e.g. run and join the world. See first screen shot). After moving around the world a little bit, then logging out of that world and going back in (same session w/out closing down MC), the world fails to appear and in the Console. The location is the same location as in the "all OK" login. Plus

How to Send Packets to a Remote Minecraft Classic Server in Python?

末鹿安然 提交于 2019-12-22 11:02:23
问题 Hello kind folks of StackOverflow. I am trying to make a sort of 'bot' which can connect to a Minecraft Classic server, post messages and possibly build. Anyway, I'm having some trouble understanding how to send packets in python, and how to correctly encode them. Here are the packets I need to send, I want to send the 'Player Identification' one: http://www.minecraftwiki.net/wiki/Classic_server_protocol#Client_.E2.86.92_Server_packets I know I need to be using sockets, and I need to be using

How to secure client-side anti-cheat [closed]

假装没事ソ 提交于 2019-12-20 18:22:09
问题 Closed . This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this post. Closed last year . First, I want to indicate that I know that any information sent from the client cannot be trusted as it can be spoofed. I am interested in methods of security through obscurity to deter 99.9% of potential cheaters and ability to detect programs that do get around the security in

Minecraft Forge 1.8 - Loading Block Textures

我的梦境 提交于 2019-12-20 18:04:31
问题 I have just started learning Java while modding Minecraft. I have watched a tutorial on adding the blocks into the game using the Minecraft Forge API, but I have a problem. There is no longer the ".setBlockTextureName ()" method, so I don't know what to do. I have a simple block added into my game, but it has no texture and I want to add a texture to it. How would I do this for Minecraft 1.8? P.S.: If this is a duplicate, I am sorry, I only saw questions about Minecraft mobs, not textures for

How do I make conemu open bat files on double click?

▼魔方 西西 提交于 2019-12-20 10:30:01
问题 I have a home-server where I run a Development minecraft server, and have moved to conemu as a CMD replacement, Exept each time I want to start the server I need to CD to the DIR & run the start.bat. Is there a way I could create a shortcut to just double click to start the start.bat in conemu? 回答1: Command line for the shortcut: "C:\Program Files\Far Manager\ConEmu.exe" /cmd "\path\to\start.bat" Or you could associate opening any batch file with ConEmu by modifying Windows registry: Windows

fsockopen 10053 error when writing Chars to Java socket

一个人想着一个人 提交于 2019-12-20 06:29:57
问题 Right, I'm trying to write a wee script in PHP that will send an in game chat package to Minecraft. //Deliberately low timeout $mc = fsockopen("localhost", 25565, $errno, $err, 3); Now, if that connects successfully, then I send 2 "packets". A single byte with the integer 3 in it to tell Minecraft that it should handle the incoming network traffic as a Packet3Chat "packet": fwrite( $mc, strrev( pack( "C", 3 ) ) ); This appears to work A-OK**. The second "packet" that is required is the length