This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tinkeracademy.projects; | |
import java.util.ArrayList; | |
public class FlipTextLookupTable { | |
public static ArrayList<String> alphabets = new ArrayList<String>(); | |
public static ArrayList<String> reverseAlphabets = new ArrayList<String>(); | |
// http://www.upsidedowntext.com/unicode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tinkeracademy.projects; | |
import java.awt.event.ActionEvent; | |
import java.awt.event.ActionListener; | |
import javax.swing.JButton; | |
import javax.swing.JTextArea; | |
public class FlipText implements ActionListener { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tinkeracademy.minecraft; | |
import net.minecraft.entity.EntityList; | |
import net.minecraft.init.Items; | |
import net.minecraft.item.Item; | |
import net.minecraft.item.ItemStack; | |
import net.minecraftforge.common.MinecraftForge; | |
import net.minecraftforge.fml.common.Mod; | |
import net.minecraftforge.fml.common.Mod.EventHandler; | |
import net.minecraftforge.fml.common.SidedProxy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tinkeracademy.minecraft; | |
import net.minecraft.entity.passive.EntityAmbientCreature; | |
import net.minecraft.entity.player.EntityPlayer; | |
import net.minecraft.nbt.NBTTagCompound; | |
import net.minecraft.util.BlockPos; | |
import net.minecraft.util.MathHelper; | |
import net.minecraft.world.World; | |
public class Snitch extends EntityAmbientCreature { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tinkeracademy.minecraft; | |
public class CommonProxy { | |
public void registerRendering() { | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tinkeracademy.minecraft; | |
import net.minecraft.client.Minecraft; | |
import net.minecraft.client.renderer.entity.RenderManager; | |
import net.minecraftforge.fml.client.registry.RenderingRegistry; | |
public class ClientProxy extends CommonProxy { | |
@Override | |
public void registerRendering() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tinkeracademy.minecraft; | |
import net.minecraft.creativetab.CreativeTabs; | |
import net.minecraft.entity.player.EntityPlayer; | |
import net.minecraft.item.Item; | |
import net.minecraft.item.ItemStack; | |
import net.minecraft.util.BlockPos; | |
import net.minecraft.util.EnumFacing; | |
import net.minecraft.world.World; | |
import net.minecraftforge.fml.common.registry.GameRegistry; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tinkeracademy.minecraft; | |
import net.minecraft.client.renderer.GlStateManager; | |
import net.minecraft.client.renderer.entity.RenderLiving; | |
import net.minecraft.client.renderer.entity.RenderManager; | |
import net.minecraft.entity.Entity; | |
import net.minecraft.entity.EntityLivingBase; | |
import net.minecraft.util.MathHelper; | |
import net.minecraft.util.ResourceLocation; | |
import net.minecraftforge.fml.relauncher.Side; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.tinkeracademy.minecraft; | |
import net.minecraft.client.model.ModelBase; | |
import net.minecraft.client.model.ModelRenderer; | |
import net.minecraft.entity.Entity; | |
import net.minecraft.util.MathHelper; | |
import net.minecraftforge.fml.relauncher.Side; | |
import net.minecraftforge.fml.relauncher.SideOnly; | |
@SideOnly(Side.CLIENT) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javax.swing.SwingUtilities.invokeLater(new Runnable() { | |
public void run() { | |
flipText.createAndShowGUI(); | |
} | |
}); |