What im trying to do is make custom recipes for my custom furnace
private boolean canSmelt() {
if(this.slots[0] == null){
return false;
}else{
ItemStack itemstack = FurnaceRecipes.smelting().getSmeltingResult(this.slots[0]);
if(itemstack == null) return false;
if(this.slots[2] == null) return true;
if(!this.slots[2].isItemEqual(itemstack)) return false;
int result = this.slots[2].stackSize + itemstack.stackSize;
return (result <= getInventoryStackLimit() && result <= itemstack.getMaxStackSize());
}
}
The ItemStack itemstack = FurnaceRecipes.smelting().getSmeltingResult(this.slots[0]); line makes any vanilla furnace recipe possible but I want only custom recipies. How am I able to do that?
I don't think you know what your saying.
In eclipse this is what you do:
1. Open up the package explorer
2. Open up the "Minecraft" folder
3. Open the reference libraries (has books as the image)
4. Go to ForgeSrc-1.7.2-"version"
5.There ya go
So, I watch this guy on youtube called scratch for fun. He is a really good youtuber and he makes really advanced stuff for minecraft. I suggest you check him out at: http://www.youtube.com/user/ScratchForFun . Anyways, he has a custom furnace tutorial and I can't get the textures to work!
Code for the textures:
2 replies
Important Information
By using this site, you agree to our Terms of Use.