Java Code Examples for net.minecraft.init.Blocks.wheat()

The following are Jave code examples for showing how to use wheat() of the net.minecraft.init.Blocks class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: DecompiledMinecraft   File: StructureVillagePieces.java   View Source Code Vote up 5 votes
private Block func_151559_a(Random rand)
{
    switch (rand.nextInt(5))
    {
        case 0:
            return Blocks.carrots;

        case 1:
            return Blocks.potatoes;

        default:
            return Blocks.wheat;
    }
}
 
Example 2
Project: DecompiledMinecraft   File: StructureVillagePieces.java   View Source Code Vote up 5 votes
private Block func_151560_a(Random rand)
{
    switch (rand.nextInt(5))
    {
        case 0:
            return Blocks.carrots;

        case 1:
            return Blocks.potatoes;

        default:
            return Blocks.wheat;
    }
}
 
Example 3
Project: DecompiledMinecraft   File: StructureVillagePieces.java   View Source Code Vote up 5 votes
private Block func_151559_a(Random rand)
{
    switch (rand.nextInt(5))
    {
        case 0:
            return Blocks.carrots;

        case 1:
            return Blocks.potatoes;

        default:
            return Blocks.wheat;
    }
}
 
Example 4
Project: DecompiledMinecraft   File: StructureVillagePieces.java   View Source Code Vote up 5 votes
private Block func_151560_a(Random rand)
{
    switch (rand.nextInt(5))
    {
        case 0:
            return Blocks.carrots;

        case 1:
            return Blocks.potatoes;

        default:
            return Blocks.wheat;
    }
}
 
Example 5
Project: BaseClient   File: StructureVillagePieces.java   View Source Code Vote up 5 votes
private Block func_151559_a(Random rand)
{
    switch (rand.nextInt(5))
    {
        case 0:
            return Blocks.carrots;

        case 1:
            return Blocks.potatoes;

        default:
            return Blocks.wheat;
    }
}
 
Example 6
Project: BaseClient   File: StructureVillagePieces.java   View Source Code Vote up 5 votes
private Block func_151560_a(Random rand)
{
    switch (rand.nextInt(5))
    {
        case 0:
            return Blocks.carrots;

        case 1:
            return Blocks.potatoes;

        default:
            return Blocks.wheat;
    }
}
 
Example 7
Project: BaseClient   File: StructureVillagePieces.java   View Source Code Vote up 5 votes
private Block func_151559_a(Random rand)
{
    switch (rand.nextInt(5))
    {
        case 0:
            return Blocks.carrots;

        case 1:
            return Blocks.potatoes;

        default:
            return Blocks.wheat;
    }
}
 
Example 8
Project: BaseClient   File: StructureVillagePieces.java   View Source Code Vote up 5 votes
private Block func_151560_a(Random rand)
{
    switch (rand.nextInt(5))
    {
        case 0:
            return Blocks.carrots;

        case 1:
            return Blocks.potatoes;

        default:
            return Blocks.wheat;
    }
}