Skip to content

Instantly share code, notes, and snippets.

((Map) getPrivateStatic(EntityTypes.class, "c")).put(paramString, paramClass);
//Registers the name to the mob, this appears to be for saving nbt tags. Theoretically, this will turn all mobs in your world into your mob, so maybe you shouldn't touch it.
((Map) getPrivateStatic(EntityTypes.class, "d")).put(paramClass, paramString);
//Registers the name you provided. This appears to be used by stuff and not do anything wrong, so you should probably leave this one.
((Map) getPrivateStatic(EntityTypes.class, "e")).put(Integer.valueOf(paramInt), paramClass);
//Registers mob id to this mob, which, I believe, will cause it to become the default mob class for the id provided.
((Map) getPrivateStatic(EntityTypes.class, "f")).put(paramClass, paramInt);
//Registers the mob to the mob id. This is essentially the reverse of e, and, I believe, assigns how the mob will display to clients. I'm pretty sure the client crashes without this one.
((Map) getPrivateStatic(EntityTypes.class, "g")).put(paramString,
# +----------------------------------------------------+
# < EchoPet By DSH105 >
# < --------------------- >
# < Configuration for EchoPet 2 >
# < See the EchoPet Wiki before editing this file >
# +----------------------------------------------------+
commandString: pet
# If set to true, EchoPet will automatically download and install
@DSH105
DSH105 / README.md
Last active August 29, 2015 14:20 — forked from oodavid/README.md

Deploy your site with git

This gist assumes:

  • you have a local git repo
  • with an online remote repository (github / bitbucket etc)
  • and a cloud server (Rackspace cloud / Amazon EC2 etc)
    • your (PHP) scripts are served from /var/www/html/
    • your webpages are executed by apache
  • apache's home directory is /var/www/