Fixed wierd rendering...

master
einsteinsci 2015-08-21 12:39:51 -07:00
parent 22d477888f
commit 2ce7faa512
9 changed files with 68 additions and 213 deletions

View File

@ -109,6 +109,17 @@ public class BBEventHandler
e.toolTip.add(ChatUtil.ITALIC + "Yes please!");
}
if (item == Item.getItemFromBlock(RegisterBlocks.campfire) && !BBConfig.moduleCampfire)
{
e.toolTip.add(ChatUtil.RED + "Module disabled in config.");
}
if (item == Item.getItemFromBlock(RegisterBlocks.infusionRepairStation) &&
!BBConfig.moduleInfusionRepair)
{
e.toolTip.add(ChatUtil.RED + "Module disabled in config.");
}
if (isWIP(e.itemStack))
{
e.toolTip.add(ChatUtil.RED + "WIP. May not be fully functional.");
@ -123,6 +134,7 @@ public class BBEventHandler
wip.add(new ItemStack(RegisterItems.clothPants));
wip.add(new ItemStack(RegisterItems.clothShirt));
wip.add(new ItemStack(RegisterItems.clothHat));
wip.add(new ItemStack(RegisterItems.cloth));
for (ItemStack test : wip)
{

View File

@ -1,21 +0,0 @@
package net.einsteinsci.betterbeginnings.items;
import net.einsteinsci.betterbeginnings.ModMain;
import net.einsteinsci.betterbeginnings.register.IBBName;
import net.minecraft.item.ItemFood;
public class ItemJerkyBeef extends ItemFood implements IBBName
{
public ItemJerkyBeef()
{
super(4, 8.0f, true);
setUnlocalizedName("jerkyBeef");
setCreativeTab(ModMain.tabBetterBeginnings);
}
@Override
public String getName()
{
return "jerkyBeef";
}
}

View File

@ -1,22 +0,0 @@
package net.einsteinsci.betterbeginnings.items;
import net.einsteinsci.betterbeginnings.ModMain;
import net.einsteinsci.betterbeginnings.register.IBBName;
import net.minecraft.item.ItemFood;
public class ItemJerkyRaw extends ItemFood implements IBBName
{
public ItemJerkyRaw()
{
super(0, 8.0f, true);
setUnlocalizedName("jerkyRaw");
setCreativeTab(ModMain.tabBetterBeginnings);
setPotionEffect(17, 30, 1, 60);
}
@Override
public String getName()
{
return "jerkyRaw";
}
}

View File

@ -45,6 +45,12 @@ public abstract class ItemKnife extends ItemTool implements IBBName
return s;
}
@Override
public boolean shouldRotateAroundWhenRendering()
{
return true;
}
// Determines if a block broken with the tool will drop its drops.
//@Override
//public boolean func_150897_b(Block block)

View File

@ -4,39 +4,15 @@
"layer0": "betterbeginnings:items/boneKnife"
},
"display": {
"thirdperson": {
"rotation": [
0.0,
90.0,
35.0
],
"translation": [
0.0,
1.25,
-3.5
],
"scale": [
0.85,
0.85,
0.85
]
},
"firstperson": {
"rotation": [
0.0,
-135.0,
25.0
],
"translation": [
0.0,
4.0,
2.0
],
"scale": [
1.7,
1.7,
1.7
]
}
"thirdperson": {
"rotation": [ 0, 90, -35 ],
"translation": [ 0, 1.25, -3.5 ],
"scale": [ 0.85, 0.85, 0.85 ]
},
"firstperson": {
"rotation": [ 0, -135, 25 ],
"translation": [ 0, 4, 2 ],
"scale": [ 1.7, 1.7, 1.7 ]
}
}
}

View File

@ -4,39 +4,15 @@
"layer0": "betterbeginnings:items/diamondKnife"
},
"display": {
"thirdperson": {
"rotation": [
0.0,
90.0,
35.0
],
"translation": [
0.0,
1.25,
-3.5
],
"scale": [
0.85,
0.85,
0.85
]
},
"firstperson": {
"rotation": [
0.0,
-135.0,
25.0
],
"translation": [
0.0,
4.0,
2.0
],
"scale": [
1.7,
1.7,
1.7
]
}
"thirdperson": {
"rotation": [ 0, 90, -35 ],
"translation": [ 0, 1.25, -3.5 ],
"scale": [ 0.85, 0.85, 0.85 ]
},
"firstperson": {
"rotation": [ 0, -135, 25 ],
"translation": [ 0, 4, 2 ],
"scale": [ 1.7, 1.7, 1.7 ]
}
}
}

View File

@ -4,39 +4,15 @@
"layer0": "betterbeginnings:items/flintKnife"
},
"display": {
"thirdperson": {
"rotation": [
0.0,
90.0,
35.0
],
"translation": [
0.0,
1.25,
-3.5
],
"scale": [
0.85,
0.85,
0.85
]
},
"firstperson": {
"rotation": [
0.0,
-135.0,
25.0
],
"translation": [
0.0,
4.0,
2.0
],
"scale": [
1.7,
1.7,
1.7
]
}
"thirdperson": {
"rotation": [ 0, 90, -35 ],
"translation": [ 0, 1.25, -3.5 ],
"scale": [ 0.85, 0.85, 0.85 ]
},
"firstperson": {
"rotation": [ 0, -135, 25 ],
"translation": [ 0, 4, 2 ],
"scale": [ 1.7, 1.7, 1.7 ]
}
}
}

View File

@ -4,39 +4,15 @@
"layer0": "betterbeginnings:items/goldKnife"
},
"display": {
"thirdperson": {
"rotation": [
0.0,
90.0,
35.0
],
"translation": [
0.0,
1.25,
-3.5
],
"scale": [
0.85,
0.85,
0.85
]
},
"firstperson": {
"rotation": [
0.0,
-135.0,
25.0
],
"translation": [
0.0,
4.0,
2.0
],
"scale": [
1.7,
1.7,
1.7
]
}
"thirdperson": {
"rotation": [ 0, 90, -35 ],
"translation": [ 0, 1.25, -3.5 ],
"scale": [ 0.85, 0.85, 0.85 ]
},
"firstperson": {
"rotation": [ 0, -135, 25 ],
"translation": [ 0, 4, 2 ],
"scale": [ 1.7, 1.7, 1.7 ]
}
}
}

View File

@ -4,39 +4,15 @@
"layer0": "betterbeginnings:items/ironKnife"
},
"display": {
"thirdperson": {
"rotation": [
0.0,
90.0,
35.0
],
"translation": [
0.0,
1.25,
-3.5
],
"scale": [
0.85,
0.85,
0.85
]
},
"firstperson": {
"rotation": [
0.0,
-135.0,
25.0
],
"translation": [
0.0,
4.0,
2.0
],
"scale": [
1.7,
1.7,
1.7
]
}
"thirdperson": {
"rotation": [ 0, 90, -35 ],
"translation": [ 0, 1.25, -3.5 ],
"scale": [ 0.85, 0.85, 0.85 ]
},
"firstperson": {
"rotation": [ 0, -135, 25 ],
"translation": [ 0, 4, 2 ],
"scale": [ 1.7, 1.7, 1.7 ]
}
}
}