Hello Guys im inxz_
i have a question
how to make passive mobs hostile? like chaos craft creepy version (without any command and mod)
i want to do this in mc files
i am making a creepy pasta version with lot of creepy pastas but i want to do this with class file
my version is 1.6.1
if anyone have class file for make passive mobs hostile pls tell me and give me a link for download
tnx u :)
i have a question
how to make passive mobs hostile? like chaos craft creepy version (without any command and mod)
i want to do this in mc files
i am making a creepy pasta version with lot of creepy pastas but i want to do this with class file
my version is 1.6.1
if anyone have class file for make passive mobs hostile pls tell me and give me a link for download
tnx u :)
Create an account or sign in to comment.
6
If you're looking to modify Minecraft version 1.6.1 to make passive mobs hostile, here’s an overview of how you can achieve this by editing the game’s class files. However, note that modifying the game files can be complex and may violate the End User License Agreement (EULA). Proceed at your own discretion.
If you’re looking for a ready-made
SSYouTube.online is a reliable and user-friendly platform for downloading videos directly from YouTube. With our cutting-edge technology, you can easily convert and download your favorite videos in high-quality MP4 format. Whether you're saving content for offline viewing or creating a personal video library, SSYouTube.online simplifies the process. The platform is fast, secure, and supports unlimited downloads, making it the go-to solution for anyone searching for a convenient YouTube to MP4 converter. Try SSYouTube.online today and enjoy your videos anytime, anywhere!
Steps to Make Passive Mobs Hostile in Minecraft 1.6.1
- Setup Required Tools:
- Java Development Kit (JDK): Install the JDK to work with Minecraft's
.class
files. - Minecraft Coder Pack (MCP): MCP can decompile Minecraft's files and allow you to edit them.
- IDE (like IntelliJ or Eclipse): Makes editing Java code easier.
- Obfuscation Mapping for 1.6.1: You’ll need this to understand Minecraft’s obfuscated class names.
- Java Development Kit (JDK): Install the JDK to work with Minecraft's
- Decompile the Game Files:
- Use MCP to decompile the Minecraft 1.6.1
.jar
file. - Locate the
EntityAnimal
class, which controls passive mob behavior.
- Use MCP to decompile the Minecraft 1.6.1
- Modify the AI Behavior:
Find the methods that define mob behavior. Look for methods likeonLivingUpdate
orattackEntityFrom
.
Add hostile behavior by overriding the AI. For example, you can modifyonLivingUpdate
to target the nearest player:
javaCopy code@Override
public void onLivingUpdate() {
super.onLivingUpdate();
EntityPlayer player = this.worldObj.getClosestPlayerToEntity(this, 10.0D);
if (player != null) {
this.attackEntity(player, this.getAttackStrength());
}
}
Implement additional methods for the mob to deal damage.
- Recompile and Test:
- Use MCP to recompile your modified files.
- Replace the modified
.class
files in the original Minecraft.jar
.
- Run and Verify:
- Launch the game and observe if passive mobs like cows, chickens, or sheep exhibit hostile behavior.
Challenges and Considerations:
- Backup Your Files: Always create backups of the original files before editing.
- Understand Obfuscation: Minecraft’s source code is obfuscated, so class and method names may not be intuitive.
- Legal Note: Modifying Minecraft files directly might breach Mojang’s EULA, so ensure you’re aware of the implications.
- Use MCP Properly: Ensure the decompilation and recompilation process is error-free.
If you’re looking for a ready-made
.class
file, you might need to rely on others who’ve worked on a similar project, though sharing pre-modified game files is often restricted.SSYouTube.online is a reliable and user-friendly platform for downloading videos directly from YouTube. With our cutting-edge technology, you can easily convert and download your favorite videos in high-quality MP4 format. Whether you're saving content for offline viewing or creating a personal video library, SSYouTube.online simplifies the process. The platform is fast, secure, and supports unlimited downloads, making it the go-to solution for anyone searching for a convenient YouTube to MP4 converter. Try SSYouTube.online today and enjoy your videos anytime, anywhere!
yooooo bro tnx so much! i do this now but if its not worked pls send me video but tnk u lot!
Interesting question…
One wonders if it might not be easier to add hostile mobs that duplicated (other than behaviors) various passives (rather than overwriting them)….
One wonders if it might not be easier to add hostile mobs that duplicated (other than behaviors) various passives (rather than overwriting them)….
Its Possible ScotsMiser (There is a class file in minecraft\net) if u see chaos craft , passive mobs is want to kill u
And Another Question ....
Do u Have a class reader file for windows 7 ?
And Another Question ....
Do u Have a class reader file for windows 7 ?
I don't (I'm not sure I still have a Win7 box with MC installed).
thank u bro!