Fix things appearing on creative tabs they shouldn't appear on

This commit is contained in:
Ellpeck 2015-12-20 22:37:33 +01:00
parent e0b9099ca2
commit 7176dcbb2c
18 changed files with 55 additions and 1 deletions

View file

@ -35,6 +35,9 @@ public class BlockBase extends Block{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -34,6 +34,9 @@ public class BlockBushBase extends BlockBush{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -51,6 +51,9 @@ public abstract class BlockContainerBase extends BlockContainer{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -49,6 +49,9 @@ public class BlockFluidFlowing extends BlockFluidClassic{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){
@ -60,7 +63,7 @@ public class BlockFluidFlowing extends BlockFluidClassic{
}
public boolean shouldAddCreative(){
return true;
return false;
}
@Override

View file

@ -54,6 +54,9 @@ public class BlockPlant extends BlockCrops{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -41,6 +41,9 @@ public class BlockStair extends BlockStairs{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -50,6 +50,9 @@ public class BlockWallAA extends BlockWall{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -66,6 +66,9 @@ public class ItemAllToolAA extends ItemTool{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -48,6 +48,9 @@ public class ItemArmorAA extends ItemArmor{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -46,6 +46,9 @@ public class ItemAxeAA extends ItemAxe{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -32,6 +32,9 @@ public class ItemBase extends Item{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -41,6 +41,9 @@ public class ItemBucketAA extends ItemBucket{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -44,6 +44,9 @@ public abstract class ItemEnergy extends ItemEnergyContainer{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -33,6 +33,9 @@ public class ItemFoodBase extends ItemFood{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -47,6 +47,9 @@ public class ItemHoeAA extends ItemHoe{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -46,6 +46,9 @@ public class ItemPickaxeAA extends ItemPickaxe{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -47,6 +47,9 @@ public class ItemShovelAA extends ItemSpade{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){

View file

@ -47,6 +47,9 @@ public class ItemSwordAA extends ItemSword{
if(this.shouldAddCreative()){
this.setCreativeTab(CreativeTab.instance);
}
else{
this.setCreativeTab(null);
}
}
protected String getBaseName(){