Compare commits

...

5 Commits

Author SHA1 Message Date
Trent Patterson c9b4d73d39
Add files via upload 2018-10-22 15:26:27 -04:00
Trent Patterson 03850792a4 1.0.2.2 2018-08-10 10:01:27 -04:00
Trent Patterson cb7249e21d
Add files via upload 2017-12-06 21:15:39 -05:00
Trent Patterson f30b7d04f9 1.0.1.2 2017-12-06 13:54:44 -05:00
Trent Patterson 74b60628ff Add files via upload 2017-10-09 19:45:35 -04:00
269 changed files with 8367 additions and 109 deletions

View File

@ -1,9 +1,51 @@
jtrent238's YouTubers Changelog
version
- Added FanMail
- Added Grim
- Added Decorative Command Block
- Added Decorative Chain Command Block
- Added Decorative Repeating Command Block
- Added Crazy Fan
- Added Enchanted Diamond
- Added Dr. Trayaurus
- Added McDuck
- Added Terrance
- Added Craig The Mailman
- Added Fake DanTDM
- Added DanTDM hurt sound
- Added DanTDM death sound
- Added DanTDM living sound
- Added DanTDM Record [The Red one has been chosen]
- Added DanTDM Record [Let's see what Happens]
- Added DanTDM Record [I'M DEAD! I'M DEAD!]
- Added DanTDM Record [SMASHING IT!]
- Added DanTDM Record [I LIKE YOUR MUSTASCHE!]
- Added DanTDM Record [I'M AN OLD LADY!]
1.0.1.2
- Added Silver YouTube Play Button
- Added Gold YouTube Play Button
- Added Diamond YouTube Play Button
- Added Ruby YouTube Play Button
- Added Magna_Invictus
- Added EckoSoldier
- Added AlexIsCool [Player]
- Added megablasterT [Player]
- Added CowMan [Player]
- Added Far [Player]
- Fixed Block Hardness of ores and material blocks
- Reduced spawn rate of ores
1.0.0.2
- Added SSundee
- Changed so Antvenom now drops 1-6 Glitched blocks
- Changed so Laurie201 now drops 1-32 enchanted golden apples
1.0.0.1
- Added Antvenom's Entity
- Added _MrGregor_'s Entity and Items
- Add Firey Hoe
- Added Firey Hoe
- Added Ore Dictonary Support
- Added xJSQ's Beating Stick to xJSQ's Drops
- Fixed Joy_Rider_2284's Ingot and Helment not having texture

674
LICENSE.md Normal file
View File

@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.

View File

@ -17,7 +17,7 @@ buildscript {
apply plugin: 'forge'
version = "1.0.0.1"
version = "1.0.2.2"
group= "com.jtrent238.youtubers" // http://maven.apache.org/guides/mini/guide-naming-conventions.html
archivesBaseName = "jtrent238youtubers"

Binary file not shown.

View File

@ -1,12 +1,21 @@
package com.jtrent238.youtubers;
import com.jtrent238.youtubers.blocks.BlockAntvenomOre;
import com.jtrent238.youtubers.blocks.BlockBajanCanadianOre;
import com.jtrent238.youtubers.blocks.BlockGlitch;
import com.jtrent238.youtubers.blocks.BlockDanTDMOre;
import com.jtrent238.youtubers.blocks.BlockDanTDM_Logo;
import com.jtrent238.youtubers.blocks.BlockDecoCommandBlock_Chain;
import com.jtrent238.youtubers.blocks.BlockDecoCommandBlock_Impulse;
import com.jtrent238.youtubers.blocks.BlockDecoCommandBlock_Repeat;
import com.jtrent238.youtubers.blocks.BlockEckoSoldierOre;
import com.jtrent238.youtubers.blocks.BlockHeyItsLuigiEgg;
import com.jtrent238.youtubers.blocks.BlockHeyItsLuigiOre;
import com.jtrent238.youtubers.blocks.BlockJoy_Rider_2284Ore;
import com.jtrent238.youtubers.blocks.BlockLaurie201Ore;
import com.jtrent238.youtubers.blocks.BlockMagna_InvictusOre;
import com.jtrent238.youtubers.blocks.BlockRealThinknoodlesOre;
import com.jtrent238.youtubers.blocks.BlockSSundeeOre;
import com.jtrent238.youtubers.blocks.BlockSethBlingOre;
import com.jtrent238.youtubers.blocks.BlockTerraCube;
import com.jtrent238.youtubers.blocks.Block_MrGregor_Ore;
@ -15,10 +24,15 @@ import com.jtrent238.youtubers.blocks.Blockjtrent238Ore;
import com.jtrent238.youtubers.blocks.BlockskythekidRSOre;
import com.jtrent238.youtubers.blocks.BlockxJSQOre;
import com.jtrent238.youtubers.blocks.materials.BlockAntvenom;
import com.jtrent238.youtubers.blocks.materials.BlockBajanCanadian;
import com.jtrent238.youtubers.blocks.materials.BlockDanTDM;
import com.jtrent238.youtubers.blocks.materials.BlockEckoSoldier;
import com.jtrent238.youtubers.blocks.materials.BlockHeyItsLuigi;
import com.jtrent238.youtubers.blocks.materials.BlockJoy_Rider_2284;
import com.jtrent238.youtubers.blocks.materials.BlockLaurie201;
import com.jtrent238.youtubers.blocks.materials.BlockMagna_Invictus;
import com.jtrent238.youtubers.blocks.materials.BlockRealThinknoodles;
import com.jtrent238.youtubers.blocks.materials.BlockSSundee;
import com.jtrent238.youtubers.blocks.materials.BlockSethBling;
import com.jtrent238.youtubers.blocks.materials.Block_MrGregor_;
import com.jtrent238.youtubers.blocks.materials.Blockblohod;
@ -32,6 +46,10 @@ import net.minecraft.block.material.Material;
public class BlockLoader {
public static Block BlockDecoCommandBlock_Impulse;
public static Block BlockDecoCommandBlock_Chain;
public static Block BlockDecoCommandBlock_Repeat;
//xJSQ Blocks
public static Block BlockxJSQOre;
public static Block BlockxJSQ;
@ -39,6 +57,8 @@ public class BlockLoader {
//DanTDM Blocks
public static Block BlockDanTDMOre;
public static Block BlockDanTDM;
public static Block BlockDanTDM_Logo;
//SethBling Blocks
public static Block BlockSethBlingOre;
@ -79,58 +99,103 @@ public class BlockLoader {
public static Block Block_MrGregor_Ore;
public static Block Block_MrGregor_;
//SSundee Blocks
public static Block BlockSSundeeOre;
public static Block BlockSSundee;
//Magna_Invictus Blocks
public static Block BlockMagna_InvictusOre;
public static Block BlockMagna_Invictus;
//EckoSoldier Blocks
public static Block BlockEckoSoldierOre;
public static Block BlockEckoSoldier;
//BajanCanadian Blocks
public static Block BlockBajanCanadianOre;
public static Block BlockBajanCanadian;
//RealThinknoodles Blocks
public static Block BlockRealThinknoodlesOre;
public static Block BlockRealThinknoodles;
/**
* Load Blocks.
*/
public static void loadBlocks() {
BlockDecoCommandBlock_Impulse = new BlockDecoCommandBlock_Impulse(Material.rock).setBlockName("BlockDecoCommandBlock_Impulse").setBlockTextureName("youtubers:BlockDecoCommandBlock_Impulse").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockDecoCommandBlock_Chain = new BlockDecoCommandBlock_Chain(Material.rock).setBlockName("BlockDecoCommandBlock_Chain").setBlockTextureName("youtubers:BlockDecoCommandBlock_Chain").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockDecoCommandBlock_Repeat = new BlockDecoCommandBlock_Repeat(Material.rock).setBlockName("BlockDecoCommandBlock_Repeat").setBlockTextureName("youtubers:BlockDecoCommandBlock_Repeat").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//xJSQ Blocks
BlockxJSQOre = new BlockxJSQOre(Material.rock).setBlockName("BlockxJSQOre").setBlockTextureName("youtubers:BlockxJSQOre").setCreativeTab(YouTubers.YouTubers);
BlockxJSQ = new BlockxJSQ(Material.iron).setBlockName("BlockxJSQ").setBlockTextureName("youtubers:BlockxJSQ").setCreativeTab(YouTubers.YouTubers);
BlockxJSQOre = new BlockxJSQOre(Material.rock).setBlockName("BlockxJSQOre").setBlockTextureName("youtubers:BlockxJSQOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockxJSQ = new BlockxJSQ(Material.iron).setBlockName("BlockxJSQ").setBlockTextureName("youtubers:BlockxJSQ").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//DanTDM Blocks
BlockDanTDMOre = new BlockDanTDMOre(Material.rock).setBlockName("BlockDanTDMOre").setBlockTextureName("youtubers:BlockDanTDMOre").setCreativeTab(YouTubers.YouTubers);
BlockDanTDM = new BlockDanTDM(Material.iron).setBlockName("BlockDanTDM").setBlockTextureName("youtubers:BlockDanTDM").setCreativeTab(YouTubers.YouTubers);
BlockDanTDMOre = new BlockDanTDMOre(Material.rock).setBlockName("BlockDanTDMOre").setBlockTextureName("youtubers:BlockDanTDMOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockDanTDM = new BlockDanTDM(Material.iron).setBlockName("BlockDanTDM").setBlockTextureName("youtubers:BlockDanTDM").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockDanTDM_Logo = new BlockDanTDM_Logo(Material.iron).setBlockName("BlockDanTDM_Logo").setBlockTextureName("youtubers:BlockDanTDM_Logo").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//SethBling Blocks
BlockSethBlingOre = new BlockSethBlingOre(false).setBlockName("BlockSethBlingOre").setBlockTextureName("youtubers:BlockSethBlingOre").setCreativeTab(YouTubers.YouTubers);
BlockSethBling = new BlockSethBling(Material.iron).setBlockName("BlockSethBling").setBlockTextureName("youtubers:BlockSethBling").setCreativeTab(YouTubers.YouTubers);
BlockSethBlingOre = new BlockSethBlingOre(false).setBlockName("BlockSethBlingOre").setBlockTextureName("youtubers:BlockSethBlingOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockSethBling = new BlockSethBling(Material.iron).setBlockName("BlockSethBling").setBlockTextureName("youtubers:BlockSethBling").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//Laurie201 Blocks
BlockLaurie201Ore = new BlockLaurie201Ore(Material.rock).setBlockName("BlockLaurie201Ore").setBlockTextureName("youtubers:BlockLaurie201Ore").setCreativeTab(YouTubers.YouTubers);
BlockLaurie201 = new BlockLaurie201(Material.iron).setBlockName("BlockLaurie201").setBlockTextureName("youtubers:BlockLaurie201").setCreativeTab(YouTubers.YouTubers);
BlockTerraCube = new BlockTerraCube(Material.iron).setBlockName("BlockTerraCube").setBlockTextureName("youtubers:BlockTerraCube").setCreativeTab(YouTubers.YouTubers);
BlockLaurie201Ore = new BlockLaurie201Ore(Material.rock).setBlockName("BlockLaurie201Ore").setBlockTextureName("youtubers:BlockLaurie201Ore").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockLaurie201 = new BlockLaurie201(Material.iron).setBlockName("BlockLaurie201").setBlockTextureName("youtubers:BlockLaurie201").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockTerraCube = new BlockTerraCube(Material.iron).setBlockName("BlockTerraCube").setBlockTextureName("youtubers:BlockTerraCube").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//blohod Blocks
BlockblohodOre = new BlockblohodOre(Material.rock).setBlockName("BlockblohodOre").setBlockTextureName("youtubers:BlockblohodOre").setCreativeTab(YouTubers.YouTubers);
Blockblohod = new Blockblohod(Material.iron).setBlockName("Blockblohod").setBlockTextureName("youtubers:Blockblohod").setCreativeTab(YouTubers.YouTubers);
BlockblohodOre = new BlockblohodOre(Material.rock).setBlockName("BlockblohodOre").setBlockTextureName("youtubers:BlockblohodOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
Blockblohod = new Blockblohod(Material.iron).setBlockName("Blockblohod").setBlockTextureName("youtubers:Blockblohod").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//skythekidRS Blocks
BlockskythekidRSOre = new BlockskythekidRSOre(Material.rock).setBlockName("BlockskythekidRSOre").setBlockTextureName("youtubers:BlockskythekidRSOre").setCreativeTab(YouTubers.YouTubers);
BlockskythekidRS = new BlockskythekidRS(Material.iron).setBlockName("BlockskythekidRS").setBlockTextureName("youtubers:BlockskythekidRS").setCreativeTab(YouTubers.YouTubers);
BlockskythekidRSOre = new BlockskythekidRSOre(Material.rock).setBlockName("BlockskythekidRSOre").setBlockTextureName("youtubers:BlockskythekidRSOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockskythekidRS = new BlockskythekidRS(Material.iron).setBlockName("BlockskythekidRS").setBlockTextureName("youtubers:BlockskythekidRS").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//HeyItsLuigi Blocks
BlockHeyItsLuigiOre = new BlockHeyItsLuigiOre(Material.rock).setBlockName("BlockHeyItsLuigiOre").setBlockTextureName("youtubers:BlockHeyItsLuigiOre").setCreativeTab(YouTubers.YouTubers);
BlockHeyItsLuigi = new BlockHeyItsLuigi(Material.iron).setBlockName("BlockHeyItsLuigi").setBlockTextureName("youtubers:BlockHeyItsLuigi").setCreativeTab(YouTubers.YouTubers);
BlockHeyItsLuigiEgg = new BlockHeyItsLuigiEgg().setBlockName("BlockHeyItsLuigiEgg").setBlockTextureName("youtubers:BlockHeyItsLuigiEgg").setCreativeTab(YouTubers.YouTubers);
BlockHeyItsLuigiOre = new BlockHeyItsLuigiOre(Material.rock).setBlockName("BlockHeyItsLuigiOre").setBlockTextureName("youtubers:BlockHeyItsLuigiOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockHeyItsLuigi = new BlockHeyItsLuigi(Material.iron).setBlockName("BlockHeyItsLuigi").setBlockTextureName("youtubers:BlockHeyItsLuigi").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockHeyItsLuigiEgg = new BlockHeyItsLuigiEgg().setBlockName("BlockHeyItsLuigiEgg").setBlockTextureName("youtubers:BlockHeyItsLuigiEgg").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//Antvenom Blocks
BlockAntvenomOre = new BlockAntvenomOre(Material.rock).setBlockName("BlockAntvenomOre").setBlockTextureName("youtubers:BlockAntvenomOre").setCreativeTab(YouTubers.YouTubers);
BlockAntvenom = new BlockAntvenom(Material.iron).setBlockName("BlockAntvenom").setBlockTextureName("youtubers:BlockAntvenom").setCreativeTab(YouTubers.YouTubers);
BlockGlitch = new BlockGlitch(Material.iron).setBlockName("BlockGlitch").setBlockTextureName("youtubers:BlockGlitch").setCreativeTab(YouTubers.YouTubers);
BlockAntvenomOre = new BlockAntvenomOre(Material.rock).setBlockName("BlockAntvenomOre").setBlockTextureName("youtubers:BlockAntvenomOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockAntvenom = new BlockAntvenom(Material.iron).setBlockName("BlockAntvenom").setBlockTextureName("youtubers:BlockAntvenom").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockGlitch = new BlockGlitch(Material.iron).setBlockName("BlockGlitch").setBlockTextureName("youtubers:BlockGlitch").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//Joy_Rider_2284 Blocks
BlockJoy_Rider_2284Ore = new BlockJoy_Rider_2284Ore(Material.rock).setBlockName("BlockJoy_Rider_2284Ore").setBlockTextureName("youtubers:BlockJoy_Rider_2284Ore").setCreativeTab(YouTubers.YouTubers);
BlockJoy_Rider_2284 = new BlockJoy_Rider_2284(Material.iron).setBlockName("BlockJoy_Rider_2284").setBlockTextureName("youtubers:BlockJoy_Rider_2284").setCreativeTab(YouTubers.YouTubers);
BlockJoy_Rider_2284Ore = new BlockJoy_Rider_2284Ore(Material.rock).setBlockName("BlockJoy_Rider_2284Ore").setBlockTextureName("youtubers:BlockJoy_Rider_2284Ore").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockJoy_Rider_2284 = new BlockJoy_Rider_2284(Material.iron).setBlockName("BlockJoy_Rider_2284").setBlockTextureName("youtubers:BlockJoy_Rider_2284").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//jtrent238 Blocks
Blockjtrent238Ore = new Blockjtrent238Ore(Material.rock).setBlockName("Blockjtrent238Ore").setBlockTextureName("youtubers:Blockjtrent238Ore").setCreativeTab(YouTubers.YouTubers);
Blockjtrent238 = new Blockjtrent238(Material.iron).setBlockName("Blockjtrent238").setBlockTextureName("youtubers:Blockjtrent238").setCreativeTab(YouTubers.YouTubers);
Blockjtrent238Ore = new Blockjtrent238Ore(Material.rock).setBlockName("Blockjtrent238Ore").setBlockTextureName("youtubers:Blockjtrent238Ore").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
Blockjtrent238 = new Blockjtrent238(Material.iron).setBlockName("Blockjtrent238").setBlockTextureName("youtubers:Blockjtrent238").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//_MrGregor_ Blocks
Block_MrGregor_Ore = new Block_MrGregor_Ore(Material.rock).setBlockName("Block_MrGregor_Ore").setBlockTextureName("youtubers:Block_MrGregor_Ore").setCreativeTab(YouTubers.YouTubers);
Block_MrGregor_ = new Block_MrGregor_(Material.iron).setBlockName("Block_MrGregor_").setBlockTextureName("youtubers:Block_MrGregor_").setCreativeTab(YouTubers.YouTubers);
Block_MrGregor_Ore = new Block_MrGregor_Ore(Material.rock).setBlockName("Block_MrGregor_Ore").setBlockTextureName("youtubers:Block_MrGregor_Ore").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
Block_MrGregor_ = new Block_MrGregor_(Material.iron).setBlockName("Block_MrGregor_").setBlockTextureName("youtubers:Block_MrGregor_").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//SSundee Blocks
BlockSSundeeOre = new BlockSSundeeOre(Material.rock).setBlockName("BlockSSundeeOre").setBlockTextureName("youtubers:BlockSSundeeOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockSSundee = new BlockSSundee(Material.iron).setBlockName("BlockSSundee").setBlockTextureName("youtubers:BlockSSundee").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//Magna_Invictus Blocks
BlockMagna_InvictusOre = new BlockMagna_InvictusOre(Material.rock).setBlockName("BlockMagna_InvictusOre").setBlockTextureName("youtubers:BlockMagna_InvictusOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockMagna_Invictus = new BlockMagna_Invictus(Material.iron).setBlockName("BlockMagna_Invictus").setBlockTextureName("youtubers:BlockMagna_Invictus").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//EckoSoldier Blocks
BlockEckoSoldierOre = new BlockEckoSoldierOre(Material.rock).setBlockName("BlockEckoSoldierOre").setBlockTextureName("youtubers:BlockEckoSoldierOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockEckoSoldier = new BlockEckoSoldier(Material.iron).setBlockName("BlockEckoSoldier").setBlockTextureName("youtubers:BlockEckoSoldier").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//BajanCanadian Blocks
BlockBajanCanadianOre = new BlockBajanCanadianOre(Material.rock).setBlockName("BlockBajanCanadianOre").setBlockTextureName("youtubers:BlockBajanCanadianOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockBajanCanadian = new BlockBajanCanadian(Material.iron).setBlockName("BlockBajanCanadian").setBlockTextureName("youtubers:BlockBajanCanadian").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
//RealThinknoodles Blocks
BlockRealThinknoodlesOre = new BlockRealThinknoodlesOre(Material.rock).setBlockName("BlockRealThinknoodlesOre").setBlockTextureName("youtubers:BlockRealThinknoodlesOre").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
BlockRealThinknoodles = new BlockRealThinknoodles(Material.iron).setBlockName("BlockRealThinknoodles").setBlockTextureName("youtubers:BlockRealThinknoodles").setCreativeTab(YouTubers.YouTubers).setHardness(5F);
registerBlocks();
}
@ -139,6 +204,10 @@ public class BlockLoader {
*/
private static void registerBlocks() {
GameRegistry.registerBlock(BlockDecoCommandBlock_Impulse, "BlockDecoCommandBlock_Impulse");
GameRegistry.registerBlock(BlockDecoCommandBlock_Chain, "BlockDecoCommandBlock_Chain");
GameRegistry.registerBlock(BlockDecoCommandBlock_Repeat, "BlockDecoCommandBlock_Repeat");
//xJSQ Blocks
GameRegistry.registerBlock(BlockxJSQOre, "BlockxJSQOre");
GameRegistry.registerBlock(BlockxJSQ, "BlockxJSQ");
@ -146,6 +215,8 @@ public class BlockLoader {
//DanTDM Blocks
GameRegistry.registerBlock(BlockDanTDMOre, "BlockDanTDMOre");
GameRegistry.registerBlock(BlockDanTDM, "BlockDanTDM");
GameRegistry.registerBlock(BlockDanTDM_Logo, "BlockDanTDM_Logo");
//SethBling Blocks
GameRegistry.registerBlock(BlockSethBlingOre, "BlockSethBlingOre");
@ -167,7 +238,7 @@ public class BlockLoader {
//HeyItsLuigi Blocks
GameRegistry.registerBlock(BlockHeyItsLuigiOre, "BlockHeyItsLuigiOre");
GameRegistry.registerBlock(BlockHeyItsLuigi, "BlockHeyItsLuigi");
//GameRegistry.registerBlock(BlockHeyItsLuigiEgg, "BlockHeyItsLuigiEgg");
GameRegistry.registerBlock(BlockHeyItsLuigiEgg, "BlockHeyItsLuigiEgg");
//Antvenom Blocks
GameRegistry.registerBlock(BlockAntvenomOre, "BlockAntvenomOre");
@ -186,6 +257,26 @@ public class BlockLoader {
GameRegistry.registerBlock(Block_MrGregor_Ore, "Block_MrGregor_Ore");
GameRegistry.registerBlock(Block_MrGregor_, "Block_MrGregor_");
//SSundee Blocks
GameRegistry.registerBlock(BlockSSundeeOre, "BlockSSundeeOre");
GameRegistry.registerBlock(BlockSSundee, "BlockSSundee");
//Magna_Invictus Blocks
GameRegistry.registerBlock(BlockMagna_InvictusOre, "BlockMagna_InvictusOre");
GameRegistry.registerBlock(BlockMagna_Invictus, "BlockMagna_Invictus");
//EckoSoldier Blocks
GameRegistry.registerBlock(BlockEckoSoldierOre, "BlockEckoSoldierOre");
GameRegistry.registerBlock(BlockEckoSoldier, "BlockEckoSoldier");
//BajanCanadian Blocks
GameRegistry.registerBlock(BlockBajanCanadianOre, "BlockBajanCanadianOre");
GameRegistry.registerBlock(BlockBajanCanadian, "BlockBajanCanadian");
//RealThinknoodles Blocks
GameRegistry.registerBlock(BlockRealThinknoodlesOre, "BlockRealThinknoodlesOre");
GameRegistry.registerBlock(BlockRealThinknoodles, "BlockRealThinknoodles");
}
}

View File

@ -1,12 +1,30 @@
package com.jtrent238.youtubers;
import com.jtrent238.youtubers.entity.EntityCraigTheMailman;
import com.jtrent238.youtubers.entity.EntityCrazyFan;
import com.jtrent238.youtubers.entity.EntityFakeDanTDM;
import com.jtrent238.youtubers.entity.EntityGrim;
import com.jtrent238.youtubers.entity.EntityMcDuck;
import com.jtrent238.youtubers.entity.EntityTerrance;
import com.jtrent238.youtubers.entity.EntityTrayaurus;
import com.jtrent238.youtubers.entity.player.EntityAlexIsCool;
import com.jtrent238.youtubers.entity.player.EntityCowMan;
import com.jtrent238.youtubers.entity.player.EntityFar;
import com.jtrent238.youtubers.entity.player.EntityHER08RINE;
import com.jtrent238.youtubers.entity.player.EntityRandomPlayer;
import com.jtrent238.youtubers.entity.player.Entitycaptainspy6;
import com.jtrent238.youtubers.entity.player.EntitymegablasterT;
import com.jtrent238.youtubers.entity.youtuber.EntityAntvenom;
import com.jtrent238.youtubers.entity.youtuber.EntityBajanCanadian;
import com.jtrent238.youtubers.entity.youtuber.EntityDanTDM;
import com.jtrent238.youtubers.entity.youtuber.EntityDerpSSundee;
import com.jtrent238.youtubers.entity.youtuber.EntityEckoSoldier;
import com.jtrent238.youtubers.entity.youtuber.EntityHeyItsLuigi;
import com.jtrent238.youtubers.entity.youtuber.EntityJoy_Rider_2284;
import com.jtrent238.youtubers.entity.youtuber.EntityLaurie201;
import com.jtrent238.youtubers.entity.youtuber.EntityMagna_Invictus;
import com.jtrent238.youtubers.entity.youtuber.EntityRealThinknoodles;
import com.jtrent238.youtubers.entity.youtuber.EntitySSundee;
import com.jtrent238.youtubers.entity.youtuber.EntitySethBling;
import com.jtrent238.youtubers.entity.youtuber.Entity_MrGregor_;
import com.jtrent238.youtubers.entity.youtuber.Entityblohod;
@ -34,6 +52,24 @@ public class EntityLoader {
//DanTDM Registry
EntityRegistry.registerGlobalEntityID(EntityDanTDM.class, "EntityDanTDM",EntityRegistry.findGlobalUniqueEntityId(), 0x42e2f4, 0x415ff4);
EntityRegistry.addSpawn(EntityDanTDM.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//Grim Registry
EntityRegistry.registerGlobalEntityID(EntityGrim.class, "EntityGrim",EntityRegistry.findGlobalUniqueEntityId(), 0xd9dce0, 0xa2a5aa);
EntityRegistry.addSpawn(EntityGrim.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//Terrance Registry
EntityRegistry.registerGlobalEntityID(EntityTerrance.class, "EntityTerrance",EntityRegistry.findGlobalUniqueEntityId(), 0xd1b5c6, 0xefdee9);
EntityRegistry.addSpawn(EntityTerrance.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//Trayaurus Registry
EntityRegistry.registerGlobalEntityID(EntityTrayaurus.class, "EntityTrayaurus",EntityRegistry.findGlobalUniqueEntityId(), 0xffffff, 0xe2e2e2);
EntityRegistry.addSpawn(EntityTrayaurus.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//CraigTheMailman Registry
EntityRegistry.registerGlobalEntityID(EntityCraigTheMailman.class, "EntityCraigTheMailman",EntityRegistry.findGlobalUniqueEntityId(), 0x44536b, 0x324d77);
EntityRegistry.addSpawn(EntityCraigTheMailman.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//McDuck Registry
EntityRegistry.registerGlobalEntityID(EntityMcDuck.class, "EntityMcDuck",EntityRegistry.findGlobalUniqueEntityId(), 0xdee2e8, 0xf7d1c5);
EntityRegistry.addSpawn(EntityMcDuck.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//Fake DanTDM Registry
EntityRegistry.registerGlobalEntityID(EntityFakeDanTDM.class, "EntityFakeDanTDM",EntityRegistry.findGlobalUniqueEntityId(), 0x42e2f4, 0x415ff4);
EntityRegistry.addSpawn(EntityFakeDanTDM.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//Laurie201 Registry
EntityRegistry.registerGlobalEntityID(EntityLaurie201.class, "EntityLaurie201",EntityRegistry.findGlobalUniqueEntityId(), 0xff2100, 0xff9900);
@ -67,10 +103,37 @@ public class EntityLoader {
EntityRegistry.registerGlobalEntityID(Entity_MrGregor_.class, "Entity_MrGregor_",EntityRegistry.findGlobalUniqueEntityId(), 0xff9000, 0x000000);
EntityRegistry.addSpawn(Entity_MrGregor_.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//SSundee Registry
EntityRegistry.registerGlobalEntityID(EntitySSundee.class, "EntitySSundee",EntityRegistry.findGlobalUniqueEntityId(), 0x000000, 0x595959);
EntityRegistry.addSpawn(EntitySSundee.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//Derp SSundee Registry
EntityRegistry.registerGlobalEntityID(EntityDerpSSundee.class, "EntityDerpSSundee",EntityRegistry.findGlobalUniqueEntityId(), 0x000000, 0x595959);
EntityRegistry.addSpawn(EntityDerpSSundee.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//Magna_Invictus Registry
EntityRegistry.registerGlobalEntityID(EntityMagna_Invictus.class, "EntityMagna_Invictus",EntityRegistry.findGlobalUniqueEntityId(), 0x000000, 0x9b0096);
EntityRegistry.addSpawn(EntityMagna_Invictus.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//EckoSoldier Registry
EntityRegistry.registerGlobalEntityID(EntityEckoSoldier.class, "EntityEckoSoldier",EntityRegistry.findGlobalUniqueEntityId(), 0x32773c, 0x098c1c);
EntityRegistry.addSpawn(EntityEckoSoldier.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//BajanCanadian Registry
EntityRegistry.registerGlobalEntityID(EntityBajanCanadian.class, "EntityBajanCanadian",EntityRegistry.findGlobalUniqueEntityId(), 0x000000, 0xaa1106);
EntityRegistry.addSpawn(EntityBajanCanadian.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//RealThinknoodles Registry
EntityRegistry.registerGlobalEntityID(EntityRealThinknoodles.class, "EntityRealThinknoodles",EntityRegistry.findGlobalUniqueEntityId(), 0x000000, 0xaa1106);
EntityRegistry.addSpawn(EntityRealThinknoodles.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
}
public static void LoadPlayers() {
//EntityRandomPlayer Registry
EntityRegistry.registerGlobalEntityID(EntityRandomPlayer.class, "EntityRandomPlayer",EntityRegistry.findGlobalUniqueEntityId(), 0xff9328, 0xff9433);
EntityRegistry.addSpawn(EntityRandomPlayer.class, 5, 4, 6, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//captainspy6 Registry
EntityRegistry.registerGlobalEntityID(Entitycaptainspy6.class, "Entitycaptainspy6",EntityRegistry.findGlobalUniqueEntityId(), 0x515dff, 0xff9400);
EntityRegistry.addSpawn(Entitycaptainspy6.class, 2, 1, 3, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
@ -79,7 +142,30 @@ public class EntityLoader {
EntityRegistry.registerGlobalEntityID(EntityHER08RINE.class, "EntityHER08RINE",EntityRegistry.findGlobalUniqueEntityId(), 0x00ff4c, 0xffffff);
EntityRegistry.addSpawn(EntityHER08RINE.class, 2, 1, 3, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//AlexIsCool Registry
EntityRegistry.registerGlobalEntityID(EntityAlexIsCool.class, "EntityAlexIsCool",EntityRegistry.findGlobalUniqueEntityId(), 0x30ddd1, 0x00ffed);
EntityRegistry.addSpawn(EntityAlexIsCool.class, 2, 1, 3, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//megablasterT Registry
EntityRegistry.registerGlobalEntityID(EntitymegablasterT.class, "EntitymegablasterT",EntityRegistry.findGlobalUniqueEntityId(), 0xd5efed, 0x4fc1b9);
EntityRegistry.addSpawn(EntitymegablasterT.class, 2, 1, 3, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//CowMan Registry
EntityRegistry.registerGlobalEntityID(EntityCowMan.class, "EntityCowMan",EntityRegistry.findGlobalUniqueEntityId(), 0xefd8d5, 0x843e33);
EntityRegistry.addSpawn(EntityCowMan.class, 2, 1, 3, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
//Far Registry
EntityRegistry.registerGlobalEntityID(EntityFar.class, "EntityFar",EntityRegistry.findGlobalUniqueEntityId(), 0xffc4ea, 0xffc4d2);
EntityRegistry.addSpawn(EntityFar.class, 2, 1, 3, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
}
public static void loadOther() {
//CrazyFan Registry
EntityRegistry.registerGlobalEntityID(EntityCrazyFan.class, "EntityCrazyFan",EntityRegistry.findGlobalUniqueEntityId(), 0x99fcbc, 0x1c4f2e);
EntityRegistry.addSpawn(EntityCrazyFan.class, 2, 1, 3, EnumCreatureType.creature, BiomeGenBase.forest, BiomeGenBase.forestHills, BiomeGenBase.jungle, BiomeGenBase.forest, BiomeGenBase.plains, BiomeGenBase.beach, BiomeGenBase.mesa, BiomeGenBase.savanna, BiomeGenBase.desert, BiomeGenBase.desertHills);
}
}

View File

@ -1,12 +1,30 @@
package com.jtrent238.youtubers;
import com.jtrent238.youtubers.items.ItemDanTDM_CD_1;
import com.jtrent238.youtubers.items.ItemDanTDM_CD_2;
import com.jtrent238.youtubers.items.ItemDanTDM_CD_3;
import com.jtrent238.youtubers.items.ItemDanTDM_CD_4;
import com.jtrent238.youtubers.items.ItemDanTDM_CD_5;
import com.jtrent238.youtubers.items.ItemDanTDM_CD_6;
import com.jtrent238.youtubers.items.ItemDiamondMinecart;
import com.jtrent238.youtubers.items.ItemDiamondPlayButton;
import com.jtrent238.youtubers.items.ItemEnchantedDiamond;
import com.jtrent238.youtubers.items.ItemFanMail;
import com.jtrent238.youtubers.items.ItemGoldPlayButton;
import com.jtrent238.youtubers.items.ItemRandomBlockStructure_Placer;
import com.jtrent238.youtubers.items.ItemRubyPlayButton;
import com.jtrent238.youtubers.items.ItemSilverPlayButton;
import com.jtrent238.youtubers.items.ItemSpawnEgg;
import com.jtrent238.youtubers.items.armor.Antvenom_Armor;
import com.jtrent238.youtubers.items.armor.BajanCanadian_Armor;
import com.jtrent238.youtubers.items.armor.DanTDM_Armor;
import com.jtrent238.youtubers.items.armor.EckoSoldier_Armor;
import com.jtrent238.youtubers.items.armor.HeyItsLuigi_Armor;
import com.jtrent238.youtubers.items.armor.Joy_Rider_2284_Armor;
import com.jtrent238.youtubers.items.armor.Laurie201_Armor;
import com.jtrent238.youtubers.items.armor.Magna_Invictus_Armor;
import com.jtrent238.youtubers.items.armor.RealThinknoodles_Armor;
import com.jtrent238.youtubers.items.armor.SSundee_Armor;
import com.jtrent238.youtubers.items.armor.SethBling_Armor;
import com.jtrent238.youtubers.items.armor._MrGregor__Armor;
import com.jtrent238.youtubers.items.armor.blohod_Armor;
@ -14,10 +32,15 @@ import com.jtrent238.youtubers.items.armor.jtrent238_Armor;
import com.jtrent238.youtubers.items.armor.skythekidRS_Armor;
import com.jtrent238.youtubers.items.armor.xJSQ_Armor;
import com.jtrent238.youtubers.items.materials.ItemAntvenomIngot;
import com.jtrent238.youtubers.items.materials.ItemBajanCanadianIngot;
import com.jtrent238.youtubers.items.materials.ItemDanTDMIngot;
import com.jtrent238.youtubers.items.materials.ItemEckoSoldierIngot;
import com.jtrent238.youtubers.items.materials.ItemHeyItsLuigiIngot;
import com.jtrent238.youtubers.items.materials.ItemJoy_Rider_2284Ingot;
import com.jtrent238.youtubers.items.materials.ItemLaurie201Ingot;
import com.jtrent238.youtubers.items.materials.ItemMagna_InvictusIngot;
import com.jtrent238.youtubers.items.materials.ItemRealThinknoodlesIngot;
import com.jtrent238.youtubers.items.materials.ItemSSundeeIngot;
import com.jtrent238.youtubers.items.materials.ItemSethBlingIngot;
import com.jtrent238.youtubers.items.materials.Item_MrGregor_Ingot;
import com.jtrent238.youtubers.items.materials.ItemblohodIngot;
@ -29,11 +52,21 @@ import com.jtrent238.youtubers.items.tools.ItemAntvenomHoe;
import com.jtrent238.youtubers.items.tools.ItemAntvenomMultiTool;
import com.jtrent238.youtubers.items.tools.ItemAntvenomPickaxe;
import com.jtrent238.youtubers.items.tools.ItemAntvenomShovel;
import com.jtrent238.youtubers.items.tools.ItemBajanCanadianAxe;
import com.jtrent238.youtubers.items.tools.ItemBajanCanadianHoe;
import com.jtrent238.youtubers.items.tools.ItemBajanCanadianMultiTool;
import com.jtrent238.youtubers.items.tools.ItemBajanCanadianPickaxe;
import com.jtrent238.youtubers.items.tools.ItemBajanCanadianShovel;
import com.jtrent238.youtubers.items.tools.ItemDanTDMAxe;
import com.jtrent238.youtubers.items.tools.ItemDanTDMHoe;
import com.jtrent238.youtubers.items.tools.ItemDanTDMMultiTool;
import com.jtrent238.youtubers.items.tools.ItemDanTDMPickaxe;
import com.jtrent238.youtubers.items.tools.ItemDanTDMShovel;
import com.jtrent238.youtubers.items.tools.ItemEckoSoldierAxe;
import com.jtrent238.youtubers.items.tools.ItemEckoSoldierHoe;
import com.jtrent238.youtubers.items.tools.ItemEckoSoldierMultiTool;
import com.jtrent238.youtubers.items.tools.ItemEckoSoldierPickaxe;
import com.jtrent238.youtubers.items.tools.ItemEckoSoldierShovel;
import com.jtrent238.youtubers.items.tools.ItemFireHoe;
import com.jtrent238.youtubers.items.tools.ItemHeyItsLuigiAxe;
import com.jtrent238.youtubers.items.tools.ItemHeyItsLuigiHoe;
@ -50,6 +83,21 @@ import com.jtrent238.youtubers.items.tools.ItemLaurie201Hoe;
import com.jtrent238.youtubers.items.tools.ItemLaurie201MultiTool;
import com.jtrent238.youtubers.items.tools.ItemLaurie201Pickaxe;
import com.jtrent238.youtubers.items.tools.ItemLaurie201Shovel;
import com.jtrent238.youtubers.items.tools.ItemMagna_InvictusAxe;
import com.jtrent238.youtubers.items.tools.ItemMagna_InvictusHoe;
import com.jtrent238.youtubers.items.tools.ItemMagna_InvictusMultiTool;
import com.jtrent238.youtubers.items.tools.ItemMagna_InvictusPickaxe;
import com.jtrent238.youtubers.items.tools.ItemMagna_InvictusShovel;
import com.jtrent238.youtubers.items.tools.ItemRealThinknoodlesAxe;
import com.jtrent238.youtubers.items.tools.ItemRealThinknoodlesHoe;
import com.jtrent238.youtubers.items.tools.ItemRealThinknoodlesMultiTool;
import com.jtrent238.youtubers.items.tools.ItemRealThinknoodlesPickaxe;
import com.jtrent238.youtubers.items.tools.ItemRealThinknoodlesShovel;
import com.jtrent238.youtubers.items.tools.ItemSSundeeAxe;
import com.jtrent238.youtubers.items.tools.ItemSSundeeHoe;
import com.jtrent238.youtubers.items.tools.ItemSSundeeMultiTool;
import com.jtrent238.youtubers.items.tools.ItemSSundeePickaxe;
import com.jtrent238.youtubers.items.tools.ItemSSundeeShovel;
import com.jtrent238.youtubers.items.tools.ItemSethBlingAxe;
import com.jtrent238.youtubers.items.tools.ItemSethBlingHoe;
import com.jtrent238.youtubers.items.tools.ItemSethBlingMultiTool;
@ -81,10 +129,15 @@ import com.jtrent238.youtubers.items.tools.ItemxJSQMultiTool;
import com.jtrent238.youtubers.items.tools.ItemxJSQPickaxe;
import com.jtrent238.youtubers.items.tools.ItemxJSQShovel;
import com.jtrent238.youtubers.items.tools.weapons.ItemAntvenomSword;
import com.jtrent238.youtubers.items.tools.weapons.ItemBajanCanadianSword;
import com.jtrent238.youtubers.items.tools.weapons.ItemDanTDMSword;
import com.jtrent238.youtubers.items.tools.weapons.ItemEckoSoldierSword;
import com.jtrent238.youtubers.items.tools.weapons.ItemHeyItsLuigiSword;
import com.jtrent238.youtubers.items.tools.weapons.ItemJoy_Rider_2284Sword;
import com.jtrent238.youtubers.items.tools.weapons.ItemLaurie201Sword;
import com.jtrent238.youtubers.items.tools.weapons.ItemMagna_InvictusSword;
import com.jtrent238.youtubers.items.tools.weapons.ItemRealThinknoodlesSword;
import com.jtrent238.youtubers.items.tools.weapons.ItemSSundeeSword;
import com.jtrent238.youtubers.items.tools.weapons.ItemSethBlingSword;
import com.jtrent238.youtubers.items.tools.weapons.Item_MrGregor_Sword;
import com.jtrent238.youtubers.items.tools.weapons.ItemblohodSword;
@ -102,6 +155,13 @@ import net.minecraftforge.common.util.EnumHelper;
public class ItemLoader {
public static Item ItemSpawnEgg;
public static Item ItemRandomBlockStructure_Placer;
public static Item ItemSilverPlayButton;
public static Item ItemGoldPlayButton;
public static Item ItemDiamondPlayButton;
public static Item ItemRubyPlayButton;
public static Item ItemFanMail;
//xJSQ Stuff
public static Item ItemxJSQIngot;
public static Item ItemxJSQHelment;
@ -130,7 +190,14 @@ public class ItemLoader {
public static Item ItemDanTDMHoe;
public static Item ItemDanTDMMultiTool;
public static Item ItemDiamondMinecart;
public static Item ItemEnchantedDiamond;
public static Item ItemDanTDM_CD_1;
public static Item ItemDanTDM_CD_2;
public static Item ItemDanTDM_CD_3;
public static Item ItemDanTDM_CD_4;
public static Item ItemDanTDM_CD_5;
public static Item ItemDanTDM_CD_6;
//SethBling Stuff
public static Item ItemSethBlingIngot;
public static Item ItemSethBlingHelment;
@ -248,6 +315,71 @@ public class ItemLoader {
public static Item Item_MrGregor_Hoe;
public static Item Item_MrGregor_MultiTool;
//SSundee Stuff
public static Item ItemSSundeeIngot;
public static Item ItemSSundeeHelment;
public static Item ItemSSundeeChestplate;
public static Item ItemSSundeeLeggings;
public static Item ItemSSundeeBoots;
public static Item ItemSSundeeSword;
public static Item ItemSSundeePickaxe;
public static Item ItemSSundeeAxe;
public static Item ItemSSundeeShovel;
public static Item ItemSSundeeHoe;
public static Item ItemSSundeeMultiTool;
//Magna_Invictus Stuff
public static Item ItemMagna_InvictusIngot;
public static Item ItemMagna_InvictusHelment;
public static Item ItemMagna_InvictusChestplate;
public static Item ItemMagna_InvictusLeggings;
public static Item ItemMagna_InvictusBoots;
public static Item ItemMagna_InvictusSword;
public static Item ItemMagna_InvictusPickaxe;
public static Item ItemMagna_InvictusAxe;
public static Item ItemMagna_InvictusShovel;
public static Item ItemMagna_InvictusHoe;
public static Item ItemMagna_InvictusMultiTool;
//EckoSoldier Stuff
public static Item ItemEckoSoldierIngot;
public static Item ItemEckoSoldierHelment;
public static Item ItemEckoSoldierChestplate;
public static Item ItemEckoSoldierLeggings;
public static Item ItemEckoSoldierBoots;
public static Item ItemEckoSoldierSword;
public static Item ItemEckoSoldierPickaxe;
public static Item ItemEckoSoldierAxe;
public static Item ItemEckoSoldierShovel;
public static Item ItemEckoSoldierHoe;
public static Item ItemEckoSoldierMultiTool;
//BajanCanadian Stuff
public static Item ItemBajanCanadianIngot;
public static Item ItemBajanCanadianHelment;
public static Item ItemBajanCanadianChestplate;
public static Item ItemBajanCanadianLeggings;
public static Item ItemBajanCanadianBoots;
public static Item ItemBajanCanadianSword;
public static Item ItemBajanCanadianPickaxe;
public static Item ItemBajanCanadianAxe;
public static Item ItemBajanCanadianShovel;
public static Item ItemBajanCanadianHoe;
public static Item ItemBajanCanadianMultiTool;
//RealThinknoodles Stuff
public static Item ItemRealThinknoodlesIngot;
public static Item ItemRealThinknoodlesHelment;
public static Item ItemRealThinknoodlesChestplate;
public static Item ItemRealThinknoodlesLeggings;
public static Item ItemRealThinknoodlesBoots;
public static Item ItemRealThinknoodlesSword;
public static Item ItemRealThinknoodlesPickaxe;
public static Item ItemRealThinknoodlesAxe;
public static Item ItemRealThinknoodlesShovel;
public static Item ItemRealThinknoodlesHoe;
public static Item ItemRealThinknoodlesMultiTool;
private static int JSQ = 10; //xJSQ Multiplier
private static int TDM = 10; //DanTDM Multiplier
@ -260,6 +392,11 @@ public class ItemLoader {
private static int JOYR = 10; //Joy_Rider_2284 Multiplier
private static int JTRENT238 = 10; //jtrent238 Multiplier
private static int MRGREG = 10; //_MrGregor_ Multiplier
private static int SUNDEE = 10; //SSundee Multiplier
private static int MAGINV = 10; //Magna_Invictus Multiplier
private static int ECKO = 10; //EckoSoldier Multiplier
private static int BCAN = 10; //BajanCanadian Multiplier
private static int RTN = 10; //RealThinknoodles Multiplier
//xJSQ Tool & Armor Material
public static ArmorMaterial xJSQ_ARMOR = EnumHelper.addArmorMaterial("xJSQ_ARMOR", 16, new int[] {3 * JSQ, 8 * JSQ, 6 * JSQ, 3 * JSQ}, 30 * JSQ);
@ -305,6 +442,26 @@ public class ItemLoader {
public static ArmorMaterial _MrGregor__ARMOR = EnumHelper.addArmorMaterial("_MrGregor__ARMOR", 16, new int[] {3 * MRGREG, 8 * MRGREG, 6 * MRGREG, 3 * MRGREG}, 30 * MRGREG);
public static ToolMaterial _MrGregor__TOOL = EnumHelper.addToolMaterial("_MrGregor__TOOL", 3 * MRGREG, 1561 * MRGREG, 8.0F * MRGREG, 3.0F * MRGREG, 10 * MRGREG);
//SSundee Tool & Armor Material
public static ArmorMaterial SSundee_ARMOR = EnumHelper.addArmorMaterial("SSundee_ARMOR", 16, new int[] {3 * SUNDEE, 8 * SUNDEE, 6 * SUNDEE, 3 * SUNDEE}, 30 * SUNDEE);
public static ToolMaterial SSundee_TOOL = EnumHelper.addToolMaterial("SSundee_TOOL", 3 * SUNDEE, 1561 * SUNDEE, 8.0F * SUNDEE, 3.0F * SUNDEE, 10 * SUNDEE);
//Magna_Invictus Tool & Armor Material
public static ArmorMaterial Magna_Invictus_ARMOR = EnumHelper.addArmorMaterial("Magna_Invictus_ARMOR", 16, new int[] {3 * SUNDEE, 8 * SUNDEE, 6 * SUNDEE, 3 * SUNDEE}, 30 * SUNDEE);
public static ToolMaterial Magna_Invictus_TOOL = EnumHelper.addToolMaterial("Magna_Invictus_TOOL", 3 * SUNDEE, 1561 * SUNDEE, 8.0F * SUNDEE, 3.0F * SUNDEE, 10 * SUNDEE);
//EckoSoldier Tool & Armor Material
public static ArmorMaterial EckoSoldier_ARMOR = EnumHelper.addArmorMaterial("EckoSoldier_ARMOR", 16, new int[] {3 * ECKO, 8 * ECKO, 6 * ECKO, 3 * ECKO}, 30 * ECKO);
public static ToolMaterial EckoSoldier_TOOL = EnumHelper.addToolMaterial("EckoSoldier_TOOL", 3 * ECKO, 1561 * ECKO, 8.0F * ECKO, 3.0F * ECKO, 10 * ECKO);
//BajanCanadian Tool & Armor Material
public static ArmorMaterial BajanCanadian_ARMOR = EnumHelper.addArmorMaterial("BajanCanadian_ARMOR", 16, new int[] {3 * BCAN, 8 * BCAN, 6 * BCAN, 3 * BCAN}, 30 * BCAN);
public static ToolMaterial BajanCanadian_TOOL = EnumHelper.addToolMaterial("BajanCanadian_TOOL", 3 * BCAN, 1561 * BCAN, 8.0F * BCAN, 3.0F * BCAN, 10 * BCAN);
//RealThinknoodles Tool & Armor Material
public static ArmorMaterial RealThinknoodles_ARMOR = EnumHelper.addArmorMaterial("RealThinknoodles_ARMOR", 16, new int[] {3 * RTN, 8 * RTN, 6 * RTN, 3 * RTN}, 30 * RTN);
public static ToolMaterial RealThinknoodles_TOOL = EnumHelper.addToolMaterial("RealThinknoodles_TOOL", 3 * RTN, 1561 * RTN, 8.0F * RTN, 3.0F * RTN, 10 * RTN);
/**
* Load Items.
*/
@ -312,6 +469,12 @@ public class ItemLoader {
ItemSpawnEgg = new ItemSpawnEgg().setUnlocalizedName("ItemSpawnEgg").setTextureName("youtubers:ItemSpawnEgg")/*.setCreativeTab(YouTubers.YouTubers)*/;
ItemRandomBlockStructure_Placer = new ItemRandomBlockStructure_Placer(0).setUnlocalizedName("ItemRandomBlockStructure_Placer").setTextureName("youtubers:ItemRandomBlockStructure_Placer")/*.setCreativeTab(YouTubers.YouTubers)*/;
ItemSilverPlayButton = new ItemSilverPlayButton().setUnlocalizedName("ItemSilverPlayButton").setTextureName("youtubers:ItemSilverPlayButton").setCreativeTab(YouTubers.YouTubers);
ItemGoldPlayButton = new ItemGoldPlayButton().setUnlocalizedName("ItemGoldPlayButton").setTextureName("youtubers:ItemGoldPlayButton").setCreativeTab(YouTubers.YouTubers);
ItemDiamondPlayButton = new ItemDiamondPlayButton().setUnlocalizedName("ItemDiamondPlayButton").setTextureName("youtubers:ItemDiamondPlayButton").setCreativeTab(YouTubers.YouTubers);
ItemRubyPlayButton = new ItemRubyPlayButton().setUnlocalizedName("ItemRubyPlayButton").setTextureName("youtubers:ItemRubyPlayButton").setCreativeTab(YouTubers.YouTubers);
ItemFanMail = new ItemFanMail().setUnlocalizedName("ItemFanMail").setTextureName("youtubers:ItemFanMail").setCreativeTab(YouTubers.YouTubers);
//xJSQ Stuff
ItemxJSQIngot = new ItemxJSQIngot().setUnlocalizedName("ItemxJSQIngot").setTextureName("youtubers:ItemxJSQIngot").setCreativeTab(YouTubers.YouTubers);
@ -341,7 +504,14 @@ public class ItemLoader {
ItemDanTDMHoe = new ItemDanTDMHoe(DanTDM_TOOL).setUnlocalizedName("ItemDanTDMHoe").setTextureName("youtubers:ItemDanTDMHoe").setCreativeTab(YouTubers.YouTubers);
ItemDanTDMMultiTool = new ItemDanTDMMultiTool(DanTDM_TOOL).setUnlocalizedName("ItemDanTDMMultiTool").setTextureName("youtubers:ItemDanTDMMultiTool").setCreativeTab(YouTubers.YouTubers);
ItemDiamondMinecart = new ItemDiamondMinecart(0).setUnlocalizedName("ItemDiamondMinecart").setTextureName("youtubers:ItemDiamondMinecart").setCreativeTab(YouTubers.YouTubers);
ItemEnchantedDiamond = new ItemEnchantedDiamond().setUnlocalizedName("ItemEnchantedDiamond").setTextureName("minecraft:diamond").setCreativeTab(YouTubers.YouTubers);
ItemDanTDM_CD_1 = new ItemDanTDM_CD_1("tdm_redone").setUnlocalizedName("ItemDanTDM_CD_1").setCreativeTab(YouTubers.YouTubers);
ItemDanTDM_CD_2 = new ItemDanTDM_CD_2("tdm_whathappens").setUnlocalizedName("ItemDanTDM_CD_2").setCreativeTab(YouTubers.YouTubers);
ItemDanTDM_CD_3 = new ItemDanTDM_CD_3("tdm_imdead").setUnlocalizedName("ItemDanTDM_CD_3").setCreativeTab(YouTubers.YouTubers);
ItemDanTDM_CD_4 = new ItemDanTDM_CD_4("tdm_smashingit").setUnlocalizedName("ItemDanTDM_CD_4").setCreativeTab(YouTubers.YouTubers);
ItemDanTDM_CD_5 = new ItemDanTDM_CD_5("tdm_mustasche").setUnlocalizedName("ItemDanTDM_CD_5").setCreativeTab(YouTubers.YouTubers);
ItemDanTDM_CD_6 = new ItemDanTDM_CD_6("tdm_oldlady").setUnlocalizedName("ItemDanTDM_CD_6").setCreativeTab(YouTubers.YouTubers);
//SethBling Stuff
ItemSethBlingIngot = new ItemSethBlingIngot().setUnlocalizedName("ItemSethBlingIngot").setTextureName("youtubers:ItemSethBlingIngot").setCreativeTab(YouTubers.YouTubers);
ItemSethBlingHelment = new SethBling_Armor(SethBling_ARMOR, 0, 0).setUnlocalizedName("ItemSethBlingHelment").setTextureName("youtubers:ItemSethBlingHelment").setCreativeTab(YouTubers.YouTubers);
@ -459,6 +629,72 @@ public class ItemLoader {
Item_MrGregor_Hoe = new Item_MrGregor_Hoe(_MrGregor__TOOL).setUnlocalizedName("Item_MrGregor_Hoe").setTextureName("youtubers:Item_MrGregor_Hoe").setCreativeTab(YouTubers.YouTubers);
Item_MrGregor_MultiTool = new Item_MrGregor_MultiTool(_MrGregor__TOOL).setUnlocalizedName("Item_MrGregor_MultiTool").setTextureName("youtubers:Item_MrGregor_MultiTool").setCreativeTab(YouTubers.YouTubers);
//SSundee Stuff
ItemSSundeeIngot = new ItemSSundeeIngot().setUnlocalizedName("ItemSSundeeIngot").setTextureName("youtubers:ItemSSundeeIngot").setCreativeTab(YouTubers.YouTubers);
ItemSSundeeHelment = new SSundee_Armor(SSundee_ARMOR, 0, 0).setUnlocalizedName("ItemSSundeeHelment").setTextureName("youtubers:ItemSSundeeHelment").setCreativeTab(YouTubers.YouTubers);
ItemSSundeeChestplate = new SSundee_Armor(SSundee_ARMOR, 1, 1).setUnlocalizedName("ItemSSundeeChestplate").setTextureName("youtubers:ItemSSundeeChestplate").setCreativeTab(YouTubers.YouTubers);
ItemSSundeeLeggings = new SSundee_Armor(SSundee_ARMOR, 2, 2).setUnlocalizedName("ItemSSundeeLeggings").setTextureName("youtubers:ItemSSundeeLeggings").setCreativeTab(YouTubers.YouTubers);
ItemSSundeeBoots = new SSundee_Armor(SSundee_ARMOR, 3, 3).setUnlocalizedName("ItemSSundeeBoots").setTextureName("youtubers:ItemSSundeeBoots").setCreativeTab(YouTubers.YouTubers);
ItemSSundeeSword = new ItemSSundeeSword(SSundee_TOOL).setUnlocalizedName("ItemSSundeeSword").setTextureName("youtubers:ItemSSundeeSword").setCreativeTab(YouTubers.YouTubers);
ItemSSundeePickaxe = new ItemSSundeePickaxe(SSundee_TOOL).setUnlocalizedName("ItemSSundeePickaxe").setTextureName("youtubers:ItemSSundeePickaxe").setCreativeTab(YouTubers.YouTubers);
ItemSSundeeAxe = new ItemSSundeeAxe(SSundee_TOOL).setUnlocalizedName("ItemSSundeeAxe").setTextureName("youtubers:ItemSSundeeAxe").setCreativeTab(YouTubers.YouTubers);
ItemSSundeeShovel = new ItemSSundeeShovel(SSundee_TOOL).setUnlocalizedName("ItemSSundeeShovel").setTextureName("youtubers:ItemSSundeeShovel").setCreativeTab(YouTubers.YouTubers);
ItemSSundeeHoe = new ItemSSundeeHoe(SSundee_TOOL).setUnlocalizedName("ItemSSundeeHoe").setTextureName("youtubers:ItemSSundeeHoe").setCreativeTab(YouTubers.YouTubers);
ItemSSundeeMultiTool = new ItemSSundeeMultiTool(SSundee_TOOL).setUnlocalizedName("ItemSSundeeMultiTool").setTextureName("youtubers:ItemSSundeeMultiTool").setCreativeTab(YouTubers.YouTubers);
//Magna_Invictus Stuff
ItemMagna_InvictusIngot = new ItemMagna_InvictusIngot().setUnlocalizedName("ItemMagna_InvictusIngot").setTextureName("youtubers:ItemMagna_InvictusIngot").setCreativeTab(YouTubers.YouTubers);
ItemMagna_InvictusHelment = new Magna_Invictus_Armor(Magna_Invictus_ARMOR, 0, 0).setUnlocalizedName("ItemMagna_InvictusHelment").setTextureName("youtubers:ItemMagna_InvictusHelment").setCreativeTab(YouTubers.YouTubers);
ItemMagna_InvictusChestplate = new Magna_Invictus_Armor(Magna_Invictus_ARMOR, 1, 1).setUnlocalizedName("ItemMagna_InvictusChestplate").setTextureName("youtubers:ItemMagna_InvictusChestplate").setCreativeTab(YouTubers.YouTubers);
ItemMagna_InvictusLeggings = new Magna_Invictus_Armor(Magna_Invictus_ARMOR, 2, 2).setUnlocalizedName("ItemMagna_InvictusLeggings").setTextureName("youtubers:ItemMagna_InvictusLeggings").setCreativeTab(YouTubers.YouTubers);
ItemMagna_InvictusBoots = new Magna_Invictus_Armor(Magna_Invictus_ARMOR, 3, 3).setUnlocalizedName("ItemMagna_InvictusBoots").setTextureName("youtubers:ItemMagna_InvictusBoots").setCreativeTab(YouTubers.YouTubers);
ItemMagna_InvictusSword = new ItemMagna_InvictusSword(Magna_Invictus_TOOL).setUnlocalizedName("ItemMagna_InvictusSword").setTextureName("youtubers:ItemMagna_InvictusSword").setCreativeTab(YouTubers.YouTubers);
ItemMagna_InvictusPickaxe = new ItemMagna_InvictusPickaxe(Magna_Invictus_TOOL).setUnlocalizedName("ItemMagna_InvictusPickaxe").setTextureName("youtubers:ItemMagna_InvictusPickaxe").setCreativeTab(YouTubers.YouTubers);
ItemMagna_InvictusAxe = new ItemMagna_InvictusAxe(Magna_Invictus_TOOL).setUnlocalizedName("ItemMagna_InvictusAxe").setTextureName("youtubers:ItemMagna_InvictusAxe").setCreativeTab(YouTubers.YouTubers);
ItemMagna_InvictusShovel = new ItemMagna_InvictusShovel(Magna_Invictus_TOOL).setUnlocalizedName("ItemMagna_InvictusShovel").setTextureName("youtubers:ItemMagna_InvictusShovel").setCreativeTab(YouTubers.YouTubers);
ItemMagna_InvictusHoe = new ItemMagna_InvictusHoe(Magna_Invictus_TOOL).setUnlocalizedName("ItemMagna_InvictusHoe").setTextureName("youtubers:ItemMagna_InvictusHoe").setCreativeTab(YouTubers.YouTubers);
ItemMagna_InvictusMultiTool = new ItemMagna_InvictusMultiTool(Magna_Invictus_TOOL).setUnlocalizedName("ItemMagna_InvictusMultiTool").setTextureName("youtubers:ItemMagna_InvictusMultiTool").setCreativeTab(YouTubers.YouTubers);
//EckoSoldier Stuff
ItemEckoSoldierIngot = new ItemEckoSoldierIngot().setUnlocalizedName("ItemEckoSoldierIngot").setTextureName("youtubers:ItemEckoSoldierIngot").setCreativeTab(YouTubers.YouTubers);
ItemEckoSoldierHelment = new EckoSoldier_Armor(EckoSoldier_ARMOR, 0, 0).setUnlocalizedName("ItemEckoSoldierHelment").setTextureName("youtubers:ItemEckoSoldierHelment").setCreativeTab(YouTubers.YouTubers);
ItemEckoSoldierChestplate = new EckoSoldier_Armor(EckoSoldier_ARMOR, 1, 1).setUnlocalizedName("ItemEckoSoldierChestplate").setTextureName("youtubers:ItemEckoSoldierChestplate").setCreativeTab(YouTubers.YouTubers);
ItemEckoSoldierLeggings = new EckoSoldier_Armor(EckoSoldier_ARMOR, 2, 2).setUnlocalizedName("ItemEckoSoldierLeggings").setTextureName("youtubers:ItemEckoSoldierLeggings").setCreativeTab(YouTubers.YouTubers);
ItemEckoSoldierBoots = new EckoSoldier_Armor(EckoSoldier_ARMOR, 3, 3).setUnlocalizedName("ItemEckoSoldierBoots").setTextureName("youtubers:ItemEckoSoldierBoots").setCreativeTab(YouTubers.YouTubers);
ItemEckoSoldierSword = new ItemEckoSoldierSword(EckoSoldier_TOOL).setUnlocalizedName("ItemEckoSoldierSword").setTextureName("youtubers:ItemEckoSoldierSword").setCreativeTab(YouTubers.YouTubers);
ItemEckoSoldierPickaxe = new ItemEckoSoldierPickaxe(EckoSoldier_TOOL).setUnlocalizedName("ItemEckoSoldierPickaxe").setTextureName("youtubers:ItemEckoSoldierPickaxe").setCreativeTab(YouTubers.YouTubers);
ItemEckoSoldierAxe = new ItemEckoSoldierAxe(EckoSoldier_TOOL).setUnlocalizedName("ItemEckoSoldierAxe").setTextureName("youtubers:ItemEckoSoldierAxe").setCreativeTab(YouTubers.YouTubers);
ItemEckoSoldierShovel = new ItemEckoSoldierShovel(EckoSoldier_TOOL).setUnlocalizedName("ItemEckoSoldierShovel").setTextureName("youtubers:ItemEckoSoldierShovel").setCreativeTab(YouTubers.YouTubers);
ItemEckoSoldierHoe = new ItemEckoSoldierHoe(EckoSoldier_TOOL).setUnlocalizedName("ItemEckoSoldierHoe").setTextureName("youtubers:ItemEckoSoldierHoe").setCreativeTab(YouTubers.YouTubers);
ItemEckoSoldierMultiTool = new ItemEckoSoldierMultiTool(EckoSoldier_TOOL).setUnlocalizedName("ItemEckoSoldierMultiTool").setTextureName("youtubers:ItemEckoSoldierMultiTool").setCreativeTab(YouTubers.YouTubers);
//BajanCanadian Stuff
ItemBajanCanadianIngot = new ItemBajanCanadianIngot().setUnlocalizedName("ItemBajanCanadianIngot").setTextureName("youtubers:ItemBajanCanadianIngot").setCreativeTab(YouTubers.YouTubers);
ItemBajanCanadianHelment = new BajanCanadian_Armor(BajanCanadian_ARMOR, 0, 0).setUnlocalizedName("ItemBajanCanadianHelment").setTextureName("youtubers:ItemBajanCanadianHelment").setCreativeTab(YouTubers.YouTubers);
ItemBajanCanadianChestplate = new BajanCanadian_Armor(BajanCanadian_ARMOR, 1, 1).setUnlocalizedName("ItemBajanCanadianChestplate").setTextureName("youtubers:ItemBajanCanadianChestplate").setCreativeTab(YouTubers.YouTubers);
ItemBajanCanadianLeggings = new BajanCanadian_Armor(BajanCanadian_ARMOR, 2, 2).setUnlocalizedName("ItemBajanCanadianLeggings").setTextureName("youtubers:ItemBajanCanadianLeggings").setCreativeTab(YouTubers.YouTubers);
ItemBajanCanadianBoots = new BajanCanadian_Armor(BajanCanadian_ARMOR, 3, 3).setUnlocalizedName("ItemBajanCanadianBoots").setTextureName("youtubers:ItemBajanCanadianBoots").setCreativeTab(YouTubers.YouTubers);
ItemBajanCanadianSword = new ItemBajanCanadianSword(BajanCanadian_TOOL).setUnlocalizedName("ItemBajanCanadianSword").setTextureName("youtubers:ItemBajanCanadianSword").setCreativeTab(YouTubers.YouTubers);
ItemBajanCanadianPickaxe = new ItemBajanCanadianPickaxe(BajanCanadian_TOOL).setUnlocalizedName("ItemBajanCanadianPickaxe").setTextureName("youtubers:ItemBajanCanadianPickaxe").setCreativeTab(YouTubers.YouTubers);
ItemBajanCanadianAxe = new ItemBajanCanadianAxe(BajanCanadian_TOOL).setUnlocalizedName("ItemBajanCanadianAxe").setTextureName("youtubers:ItemBajanCanadianAxe").setCreativeTab(YouTubers.YouTubers);
ItemBajanCanadianShovel = new ItemBajanCanadianShovel(BajanCanadian_TOOL).setUnlocalizedName("ItemBajanCanadianShovel").setTextureName("youtubers:ItemBajanCanadianShovel").setCreativeTab(YouTubers.YouTubers);
ItemBajanCanadianHoe = new ItemBajanCanadianHoe(BajanCanadian_TOOL).setUnlocalizedName("ItemBajanCanadianHoe").setTextureName("youtubers:ItemBajanCanadianHoe").setCreativeTab(YouTubers.YouTubers);
ItemBajanCanadianMultiTool = new ItemBajanCanadianMultiTool(BajanCanadian_TOOL).setUnlocalizedName("ItemBajanCanadianMultiTool").setTextureName("youtubers:ItemBajanCanadianMultiTool").setCreativeTab(YouTubers.YouTubers);
//RealThinknoodles Stuff
ItemRealThinknoodlesIngot = new ItemRealThinknoodlesIngot().setUnlocalizedName("ItemRealThinknoodlesIngot").setTextureName("youtubers:ItemRealThinknoodlesIngot").setCreativeTab(YouTubers.YouTubers);
ItemRealThinknoodlesHelment = new RealThinknoodles_Armor(RealThinknoodles_ARMOR, 0, 0).setUnlocalizedName("ItemRealThinknoodlesHelment").setTextureName("youtubers:ItemRealThinknoodlesHelment").setCreativeTab(YouTubers.YouTubers);
ItemRealThinknoodlesChestplate = new RealThinknoodles_Armor(RealThinknoodles_ARMOR, 1, 1).setUnlocalizedName("ItemRealThinknoodlesChestplate").setTextureName("youtubers:ItemRealThinknoodlesChestplate").setCreativeTab(YouTubers.YouTubers);
ItemRealThinknoodlesLeggings = new RealThinknoodles_Armor(RealThinknoodles_ARMOR, 2, 2).setUnlocalizedName("ItemRealThinknoodlesLeggings").setTextureName("youtubers:ItemRealThinknoodlesLeggings").setCreativeTab(YouTubers.YouTubers);
ItemRealThinknoodlesBoots = new RealThinknoodles_Armor(RealThinknoodles_ARMOR, 3, 3).setUnlocalizedName("ItemRealThinknoodlesBoots").setTextureName("youtubers:ItemRealThinknoodlesBoots").setCreativeTab(YouTubers.YouTubers);
ItemRealThinknoodlesSword = new ItemRealThinknoodlesSword(RealThinknoodles_TOOL).setUnlocalizedName("ItemRealThinknoodlesSword").setTextureName("youtubers:ItemRealThinknoodlesSword").setCreativeTab(YouTubers.YouTubers);
ItemRealThinknoodlesPickaxe = new ItemRealThinknoodlesPickaxe(RealThinknoodles_TOOL).setUnlocalizedName("ItemRealThinknoodlesPickaxe").setTextureName("youtubers:ItemRealThinknoodlesPickaxe").setCreativeTab(YouTubers.YouTubers);
ItemRealThinknoodlesAxe = new ItemRealThinknoodlesAxe(RealThinknoodles_TOOL).setUnlocalizedName("ItemRealThinknoodlesAxe").setTextureName("youtubers:ItemRealThinknoodlesAxe").setCreativeTab(YouTubers.YouTubers);
ItemRealThinknoodlesShovel = new ItemRealThinknoodlesShovel(RealThinknoodles_TOOL).setUnlocalizedName("ItemRealThinknoodlesShovel").setTextureName("youtubers:ItemRealThinknoodlesShovel").setCreativeTab(YouTubers.YouTubers);
ItemRealThinknoodlesHoe = new ItemRealThinknoodlesHoe(RealThinknoodles_TOOL).setUnlocalizedName("ItemRealThinknoodlesHoe").setTextureName("youtubers:ItemRealThinknoodlesHoe").setCreativeTab(YouTubers.YouTubers);
ItemRealThinknoodlesMultiTool = new ItemRealThinknoodlesMultiTool(RealThinknoodles_TOOL).setUnlocalizedName("ItemRealThinknoodlesMultiTool").setTextureName("youtubers:ItemRealThinknoodlesMultiTool").setCreativeTab(YouTubers.YouTubers);
registerItems();
}
@ -469,6 +705,12 @@ public class ItemLoader {
private static void registerItems(){
GameRegistry.registerItem(ItemSpawnEgg, ItemSpawnEgg.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemRandomBlockStructure_Placer, ItemRandomBlockStructure_Placer.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemSilverPlayButton, ItemSilverPlayButton.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemGoldPlayButton, ItemGoldPlayButton.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemDiamondPlayButton, ItemDiamondPlayButton.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemRubyPlayButton, ItemRubyPlayButton.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemFanMail, ItemFanMail.getUnlocalizedName().substring(5));
//xJSQ Stuff
GameRegistry.registerItem(ItemxJSQIngot, ItemxJSQIngot.getUnlocalizedName().substring(5));
@ -498,6 +740,13 @@ public class ItemLoader {
GameRegistry.registerItem(ItemDanTDMHoe, ItemDanTDMHoe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemDanTDMMultiTool, ItemDanTDMMultiTool.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemDiamondMinecart, ItemDiamondMinecart.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEnchantedDiamond, ItemEnchantedDiamond.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemDanTDM_CD_1, ItemDanTDM_CD_1.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemDanTDM_CD_2, ItemDanTDM_CD_2.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemDanTDM_CD_3, ItemDanTDM_CD_3.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemDanTDM_CD_4, ItemDanTDM_CD_4.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemDanTDM_CD_5, ItemDanTDM_CD_5.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemDanTDM_CD_6, ItemDanTDM_CD_6.getUnlocalizedName().substring(5));
//SethBling Stuff
GameRegistry.registerItem(ItemSethBlingIngot, ItemSethBlingIngot.getUnlocalizedName().substring(5));
@ -616,5 +865,83 @@ public class ItemLoader {
GameRegistry.registerItem(Item_MrGregor_Hoe, Item_MrGregor_Hoe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(Item_MrGregor_MultiTool, Item_MrGregor_MultiTool.getUnlocalizedName().substring(5));
//SSundee Stuff
GameRegistry.registerItem(ItemSSundeeIngot, ItemSSundeeIngot.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemSSundeeHelment, ItemSSundeeHelment.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemSSundeeChestplate, ItemSSundeeChestplate.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemSSundeeLeggings, ItemSSundeeLeggings.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemSSundeeBoots, ItemSSundeeBoots.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemSSundeeSword, ItemSSundeeSword.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemSSundeePickaxe, ItemSSundeePickaxe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemSSundeeAxe, ItemSSundeeAxe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemSSundeeShovel, ItemSSundeeShovel.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemSSundeeHoe, ItemSSundeeHoe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemSSundeeMultiTool, ItemSSundeeMultiTool.getUnlocalizedName().substring(5));
//Magna_Invictus Stuff
GameRegistry.registerItem(ItemMagna_InvictusIngot, ItemMagna_InvictusIngot.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemMagna_InvictusHelment, ItemMagna_InvictusHelment.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemMagna_InvictusChestplate, ItemMagna_InvictusChestplate.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemMagna_InvictusLeggings, ItemMagna_InvictusLeggings.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemMagna_InvictusBoots, ItemMagna_InvictusBoots.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemMagna_InvictusSword, ItemMagna_InvictusSword.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemMagna_InvictusPickaxe, ItemMagna_InvictusPickaxe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemMagna_InvictusAxe, ItemMagna_InvictusAxe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemMagna_InvictusShovel, ItemMagna_InvictusShovel.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemMagna_InvictusHoe, ItemMagna_InvictusHoe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemMagna_InvictusMultiTool, ItemMagna_InvictusMultiTool.getUnlocalizedName().substring(5));
//EckoSoldier Stuff
GameRegistry.registerItem(ItemEckoSoldierIngot, ItemEckoSoldierIngot.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierHelment, ItemEckoSoldierHelment.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierChestplate, ItemEckoSoldierChestplate.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierLeggings, ItemEckoSoldierLeggings.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierBoots, ItemEckoSoldierBoots.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierSword, ItemEckoSoldierSword.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierPickaxe, ItemEckoSoldierPickaxe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierAxe, ItemEckoSoldierAxe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierShovel, ItemEckoSoldierShovel.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierHoe, ItemEckoSoldierHoe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierMultiTool, ItemEckoSoldierMultiTool.getUnlocalizedName().substring(5));
//EckoSoldier Stuff
GameRegistry.registerItem(ItemEckoSoldierIngot, ItemEckoSoldierIngot.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierHelment, ItemEckoSoldierHelment.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierChestplate, ItemEckoSoldierChestplate.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierLeggings, ItemEckoSoldierLeggings.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierBoots, ItemEckoSoldierBoots.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierSword, ItemEckoSoldierSword.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierPickaxe, ItemEckoSoldierPickaxe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierAxe, ItemEckoSoldierAxe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierShovel, ItemEckoSoldierShovel.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierHoe, ItemEckoSoldierHoe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemEckoSoldierMultiTool, ItemEckoSoldierMultiTool.getUnlocalizedName().substring(5));
//BajanCanadian Stuff
GameRegistry.registerItem(ItemBajanCanadianIngot, ItemBajanCanadianIngot.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemBajanCanadianHelment, ItemBajanCanadianHelment.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemBajanCanadianChestplate, ItemBajanCanadianChestplate.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemBajanCanadianLeggings, ItemBajanCanadianLeggings.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemBajanCanadianBoots, ItemBajanCanadianBoots.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemBajanCanadianSword, ItemBajanCanadianSword.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemBajanCanadianPickaxe, ItemBajanCanadianPickaxe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemBajanCanadianAxe, ItemBajanCanadianAxe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemBajanCanadianShovel, ItemBajanCanadianShovel.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemBajanCanadianHoe, ItemBajanCanadianHoe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemBajanCanadianMultiTool, ItemBajanCanadianMultiTool.getUnlocalizedName().substring(5));
//RealThinknoodles Stuff
GameRegistry.registerItem(ItemRealThinknoodlesIngot, ItemRealThinknoodlesIngot.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemRealThinknoodlesHelment, ItemRealThinknoodlesHelment.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemRealThinknoodlesChestplate, ItemRealThinknoodlesChestplate.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemRealThinknoodlesLeggings, ItemRealThinknoodlesLeggings.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemRealThinknoodlesBoots, ItemRealThinknoodlesBoots.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemRealThinknoodlesSword, ItemRealThinknoodlesSword.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemRealThinknoodlesPickaxe, ItemRealThinknoodlesPickaxe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemRealThinknoodlesAxe, ItemRealThinknoodlesAxe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemRealThinknoodlesShovel, ItemRealThinknoodlesShovel.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemRealThinknoodlesHoe, ItemRealThinknoodlesHoe.getUnlocalizedName().substring(5));
GameRegistry.registerItem(ItemRealThinknoodlesMultiTool, ItemRealThinknoodlesMultiTool.getUnlocalizedName().substring(5));
}
}

View File

@ -15,17 +15,70 @@ public class OreDict {
OreDictionary.registerOre("ore_xJSQ", BlockLoader.BlockxJSQOre);
OreDictionary.registerOre("ingot_xJSQ", ItemLoader.ItemxJSQIngot);
OreDictionary.registerOre("block_xJSQ", BlockLoader.BlockxJSQ);
OreDictionary.registerOre("ore_DanTDM", BlockLoader.BlockDanTDMOre);
OreDictionary.registerOre("ingot_DanTDM", ItemLoader.ItemDanTDMIngot);
OreDictionary.registerOre("block_DanTDM", BlockLoader.BlockDanTDM);
OreDictionary.registerOre("ore_SethBling", BlockLoader.BlockSethBlingOre);
OreDictionary.registerOre("ingot_SethBling", ItemLoader.ItemSethBlingIngot);
OreDictionary.registerOre("block_SethBling", BlockLoader.BlockSethBling);
OreDictionary.registerOre("ore_Laurie201", BlockLoader.BlockLaurie201Ore);
OreDictionary.registerOre("ingot_Laurie201", ItemLoader.ItemLaurie201Ingot);
OreDictionary.registerOre("block_Laurie201", BlockLoader.BlockLaurie201);
OreDictionary.registerOre("ore_blohod", BlockLoader.BlockblohodOre);
OreDictionary.registerOre("ingot_blohod", ItemLoader.ItemblohodIngot);
OreDictionary.registerOre("block_blohod", BlockLoader.Blockblohod);
OreDictionary.registerOre("ore_skythekidRS", BlockLoader.BlockskythekidRSOre);
OreDictionary.registerOre("ingot_skythekidRS", ItemLoader.ItemskythekidRSIngot);
OreDictionary.registerOre("block_skythekidRS", BlockLoader.BlockskythekidRS);
OreDictionary.registerOre("ore_HeyItsLuigi", BlockLoader.BlockHeyItsLuigiOre);
OreDictionary.registerOre("ingot_HeyItsLuigi", ItemLoader.ItemHeyItsLuigiIngot);
OreDictionary.registerOre("block_HeyItsLuigi", BlockLoader.BlockHeyItsLuigi);
OreDictionary.registerOre("ore_Antvenom", BlockLoader.BlockAntvenomOre);
OreDictionary.registerOre("ingot_Antvenom", ItemLoader.ItemAntvenomIngot);
OreDictionary.registerOre("block_Antvenom", BlockLoader.BlockAntvenom);
OreDictionary.registerOre("ore_Joy_Rider_2284", BlockLoader.BlockJoy_Rider_2284Ore);
OreDictionary.registerOre("ingot_Joy_Rider_2284", ItemLoader.ItemJoy_Rider_2284Ingot);
OreDictionary.registerOre("block_Joy_Rider_2284", BlockLoader.BlockJoy_Rider_2284);
OreDictionary.registerOre("ore_jtrent238", BlockLoader.Blockjtrent238Ore);
OreDictionary.registerOre("ingot_jtrent238", ItemLoader.Itemjtrent238Ingot);
OreDictionary.registerOre("block_jtrent238", BlockLoader.Blockjtrent238);
OreDictionary.registerOre("ore__MrGregor_", BlockLoader.Block_MrGregor_Ore);
//OreDictionary.registerOre("ore_DanTDM", BlockLoader.BlockDanTDMOre);
OreDictionary.registerOre("ingot__MrGregor_", ItemLoader.Item_MrGregor_Ingot);
OreDictionary.registerOre("block__MrGregor_", BlockLoader.Block_MrGregor_);
OreDictionary.registerOre("ore_SSundee", BlockLoader.BlockSSundeeOre);
OreDictionary.registerOre("ingot_SSundee", ItemLoader.ItemSSundeeIngot);
OreDictionary.registerOre("block_SSundee", BlockLoader.BlockSSundee);
OreDictionary.registerOre("ore_Magna_Invictus", BlockLoader.BlockMagna_InvictusOre);
OreDictionary.registerOre("ingot_Magna_Invictus", ItemLoader.ItemMagna_InvictusIngot);
OreDictionary.registerOre("block_Magna_Invictus", BlockLoader.BlockMagna_Invictus);
OreDictionary.registerOre("ore_EckoSoldier", BlockLoader.BlockEckoSoldierOre);
OreDictionary.registerOre("ingot_EckoSoldier", ItemLoader.ItemEckoSoldierIngot);
OreDictionary.registerOre("block_EckoSoldier", BlockLoader.BlockEckoSoldier);
OreDictionary.registerOre("ore_BajanCanadian", BlockLoader.BlockBajanCanadianOre);
OreDictionary.registerOre("ingot_BajanCanadian", ItemLoader.ItemBajanCanadianIngot);
OreDictionary.registerOre("block_BajanCanadian", BlockLoader.BlockBajanCanadian);
OreDictionary.registerOre("ore_RealThinknoodles", BlockLoader.BlockRealThinknoodlesOre);
OreDictionary.registerOre("ingot_RealThinknoodles", ItemLoader.ItemRealThinknoodlesIngot);
OreDictionary.registerOre("block_RealThinknoodles", BlockLoader.BlockRealThinknoodles);
addItems();
}
@ -46,8 +99,11 @@ public class OreDict {
replacements.put(new ItemStack(ItemLoader.ItemJoy_Rider_2284Ingot), "ingot_Joy_Rider_2284");
replacements.put(new ItemStack(ItemLoader.Itemjtrent238Ingot), "ingot_jtrent238");
replacements.put(new ItemStack(ItemLoader.Item_MrGregor_Ingot), "ingot__MrGregor_");
replacements.put(new ItemStack(ItemLoader.ItemSSundeeIngot), "ingot_SSundee");
replacements.put(new ItemStack(ItemLoader.ItemMagna_InvictusIngot), "ingot_Magna_Invictus");
replacements.put(new ItemStack(ItemLoader.ItemEckoSoldierIngot), "ingot_EckoSoldier");
replacements.put(new ItemStack(ItemLoader.ItemBajanCanadianIngot), "ingot_BajanCanadian");
replacements.put(new ItemStack(ItemLoader.ItemRealThinknoodlesIngot), "ingot_RealThinknoodles");
}

View File

@ -0,0 +1,38 @@
package com.jtrent238.youtubers;
import java.util.ArrayList;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.WeightedRandomChestContent;
import net.minecraftforge.common.ChestGenHooks;
public class PlayerList {
public static ArrayList<String> players = new ArrayList<String>();
public static String[] arr={"AlexIsCool", "Ben", "CowMan", "Far", "megablasterT"};
private static int randomPlayer;
public static String getRandomPlayerName() {
//int numHammers = 98;
int numPlayers = arr.length;
for (int i = 0; i < numPlayers ; i++) {
Random r=new Random();
int randomPlayer=r.nextInt(arr.length);
System.out.println("Player: " + arr[randomPlayer] + " Loaded");
System.out.println("TEST");
//System.out.println("Player: " + i + " Loaded");
}
return arr[randomPlayer];
}
}

View File

@ -153,6 +153,66 @@ public class Recipes {
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.Item_MrGregor_Leggings), "III", "IBI", "IBI", 'I', ItemLoader.Item_MrGregor_Ingot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.Item_MrGregor_Boots), "IBI", "IBI", 'I', ItemLoader.Item_MrGregor_Ingot);
//SSundee Crafting Recipes
GameRegistry.addShapedRecipe(new ItemStack(BlockLoader.BlockSSundee), "XXX", "XXX", "XXX", 'X', ItemLoader.ItemSSundeeIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeSword), "I", "I", "S", 'I', ItemLoader.ItemSSundeeIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeePickaxe), "III", "BSB", "BSB", 'I', ItemLoader.ItemSSundeeIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeAxe), "IIB", "ISB", "BSB", 'I', ItemLoader.ItemSSundeeIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeShovel), "BIB", "BSB", "BSB", 'I', ItemLoader.ItemSSundeeIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeHoe), "IIB", "BSB", "BSB", 'I', ItemLoader.ItemSSundeeIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeHelment), "III", "IBI", 'I', ItemLoader.ItemSSundeeIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeChestplate), "IBI", "III", "III", 'I', ItemLoader.ItemSSundeeIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeLeggings), "III", "IBI", "IBI", 'I', ItemLoader.ItemSSundeeIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemSSundeeBoots), "IBI", "IBI", 'I', ItemLoader.ItemSSundeeIngot);
//Magna_Invictus Crafting Recipes
GameRegistry.addShapedRecipe(new ItemStack(BlockLoader.BlockMagna_Invictus), "XXX", "XXX", "XXX", 'X', ItemLoader.ItemMagna_InvictusIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusSword), "I", "I", "S", 'I', ItemLoader.ItemMagna_InvictusIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusPickaxe), "III", "BSB", "BSB", 'I', ItemLoader.ItemMagna_InvictusIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusAxe), "IIB", "ISB", "BSB", 'I', ItemLoader.ItemMagna_InvictusIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusShovel), "BIB", "BSB", "BSB", 'I', ItemLoader.ItemMagna_InvictusIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusHoe), "IIB", "BSB", "BSB", 'I', ItemLoader.ItemMagna_InvictusIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusHelment), "III", "IBI", 'I', ItemLoader.ItemMagna_InvictusIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusChestplate), "IBI", "III", "III", 'I', ItemLoader.ItemMagna_InvictusIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusLeggings), "III", "IBI", "IBI", 'I', ItemLoader.ItemMagna_InvictusIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemMagna_InvictusBoots), "IBI", "IBI", 'I', ItemLoader.ItemMagna_InvictusIngot);
//EckoSoldier Crafting Recipes
GameRegistry.addShapedRecipe(new ItemStack(BlockLoader.BlockEckoSoldier), "XXX", "XXX", "XXX", 'X', ItemLoader.ItemEckoSoldierIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierSword), "I", "I", "S", 'I', ItemLoader.ItemEckoSoldierIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierPickaxe), "III", "BSB", "BSB", 'I', ItemLoader.ItemEckoSoldierIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierAxe), "IIB", "ISB", "BSB", 'I', ItemLoader.ItemEckoSoldierIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierShovel), "BIB", "BSB", "BSB", 'I', ItemLoader.ItemEckoSoldierIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierHoe), "IIB", "BSB", "BSB", 'I', ItemLoader.ItemEckoSoldierIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierHelment), "III", "IBI", 'I', ItemLoader.ItemEckoSoldierIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierChestplate), "IBI", "III", "III", 'I', ItemLoader.ItemEckoSoldierIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierLeggings), "III", "IBI", "IBI", 'I', ItemLoader.ItemEckoSoldierIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemEckoSoldierBoots), "IBI", "IBI", 'I', ItemLoader.ItemEckoSoldierIngot);
//BajanCanadian Crafting Recipes
GameRegistry.addShapedRecipe(new ItemStack(BlockLoader.BlockBajanCanadian), "XXX", "XXX", "XXX", 'X', ItemLoader.ItemBajanCanadianIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianSword), "I", "I", "S", 'I', ItemLoader.ItemBajanCanadianIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianPickaxe), "III", "BSB", "BSB", 'I', ItemLoader.ItemBajanCanadianIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianAxe), "IIB", "ISB", "BSB", 'I', ItemLoader.ItemBajanCanadianIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianShovel), "BIB", "BSB", "BSB", 'I', ItemLoader.ItemBajanCanadianIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianHoe), "IIB", "BSB", "BSB", 'I', ItemLoader.ItemBajanCanadianIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianHelment), "III", "IBI", 'I', ItemLoader.ItemBajanCanadianIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianChestplate), "IBI", "III", "III", 'I', ItemLoader.ItemBajanCanadianIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianLeggings), "III", "IBI", "IBI", 'I', ItemLoader.ItemBajanCanadianIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemBajanCanadianBoots), "IBI", "IBI", 'I', ItemLoader.ItemBajanCanadianIngot);
//RealThinknoodles Crafting Recipes
GameRegistry.addShapedRecipe(new ItemStack(BlockLoader.BlockRealThinknoodles), "XXX", "XXX", "XXX", 'X', ItemLoader.ItemRealThinknoodlesIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemRealThinknoodlesSword), "I", "I", "S", 'I', ItemLoader.ItemRealThinknoodlesIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemRealThinknoodlesPickaxe), "III", "BSB", "BSB", 'I', ItemLoader.ItemRealThinknoodlesIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemRealThinknoodlesAxe), "IIB", "ISB", "BSB", 'I', ItemLoader.ItemRealThinknoodlesIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemRealThinknoodlesShovel), "BIB", "BSB", "BSB", 'I', ItemLoader.ItemRealThinknoodlesIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemRealThinknoodlesHoe), "IIB", "BSB", "BSB", 'I', ItemLoader.ItemRealThinknoodlesIngot, 'S', Items.stick);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemRealThinknoodlesHelment), "III", "IBI", 'I', ItemLoader.ItemRealThinknoodlesIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemRealThinknoodlesChestplate), "IBI", "III", "III", 'I', ItemLoader.ItemRealThinknoodlesIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemRealThinknoodlesLeggings), "III", "IBI", "IBI", 'I', ItemLoader.ItemRealThinknoodlesIngot);
GameRegistry.addShapedRecipe(new ItemStack(ItemLoader.ItemRealThinknoodlesBoots), "IBI", "IBI", 'I', ItemLoader.ItemRealThinknoodlesIngot);
}
/**
@ -176,6 +236,11 @@ public class Recipes {
GameRegistry.addSmelting(BlockLoader.BlockJoy_Rider_2284Ore, new ItemStack (ItemLoader.ItemJoy_Rider_2284Ingot, 1), 2F );
GameRegistry.addSmelting(BlockLoader.Blockjtrent238Ore, new ItemStack (ItemLoader.Itemjtrent238Ingot, 1), 2F );
GameRegistry.addSmelting(BlockLoader.Block_MrGregor_Ore, new ItemStack (ItemLoader.Item_MrGregor_Ingot, 1), 2F );
GameRegistry.addSmelting(BlockLoader.BlockSSundeeOre, new ItemStack (ItemLoader.ItemSSundeeIngot, 1), 2F );
GameRegistry.addSmelting(BlockLoader.BlockMagna_InvictusOre, new ItemStack (ItemLoader.ItemMagna_InvictusIngot, 1), 2F );
GameRegistry.addSmelting(BlockLoader.BlockEckoSoldierOre, new ItemStack (ItemLoader.ItemEckoSoldierIngot, 1), 2F );
GameRegistry.addSmelting(BlockLoader.BlockBajanCanadianOre, new ItemStack (ItemLoader.ItemBajanCanadianIngot, 1), 2F );
}

View File

@ -0,0 +1,16 @@
package com.jtrent238.youtubers;
import net.minecraftforge.common.config.Configuration;
import net.minecraftforge.common.config.Property;
public class YTConfig
{
public static boolean Offline;
public static String[] PlayerNames = { "tatapatt", "Notch" };
public static boolean DEBUG_MODE;
public static void GetConfig(Configuration config)
{
}
}

View File

@ -1,6 +1,7 @@
package com.jtrent238.youtubers;
import java.util.ArrayList;
import java.util.Random;
import com.jtrent238.youtubers.common.CommonProxy;
import com.jtrent238.youtubers.worldgen.ModWorldGen;
@ -45,34 +46,18 @@ public class YouTubers
public static final String MODID = "jtrent238youtubers";
public static boolean epicproportionsmod_loaded;
public static boolean epicproportionsmod_halloween_loaded;
public static boolean epicproportionsmod_christmas_loaded;
@Instance(MODID)
public static YouTubers instance;
public static final String MODVERSION = "1.0.0.1";
public static final String MODVERSION = "1.0.2.2";
public final static String COREVERSION = "1.0.0.3";
public static final String MODNAME = "jtrent238's YouTuber Mod";
public static final String MODAUTHOR = "jtrent238";
public static final String MC = "1.7.10";
/** This is used to keep track of GUIs that we make*/
private static int modGuiIndex = 0;
/** Set our custom inventory Gui index to the next available Gui index */
public static final int GUI_BAG_INV = modGuiIndex++;
private ModContainer mc;
private EntityPlayer player;
private World world;
private IGuiHandler BagGuiHandler;
@ForgeSubscribe(priority = EventPriority.NORMAL)
public void eventHandler(RenderGameOverlayEvent event) {
@ -98,15 +83,37 @@ public void init(FMLInitializationEvent event)
Recipes.registerRecpies();
EntityLoader.LoadYouTubers();
EntityLoader.LoadPlayers();
EntityLoader.loadOther();
OreDict.addores();
//Achievements.loadAchievements();
//Stats.RegisterStats();
//ChestGen.registerItems();
//PlayerList.addPlayers();
// String[] arr={"Notch", "N00B", "Herobrine", "MrCrayfish", "Bob"};
// Random r=new Random();
// int randomPlayer=r.nextInt(arr.length);
// System.out.println("Player: " + arr[randomPlayer] + " Loaded");
// System.out.println("TEST");
GameRegistry.registerWorldGenerator(new ModWorldGen(), 0);
if(Loader.isModLoaded("epicproportionsmod")) {
epicproportionsmod_loaded = true;
}
else epicproportionsmod_loaded = false;
if(Loader.isModLoaded("epicproportionsmod_halloween")) {
epicproportionsmod_halloween_loaded = true;
}
else epicproportionsmod_halloween_loaded = false;
if(Loader.isModLoaded("epicproportionsmod_christmas")) {
epicproportionsmod_christmas_loaded = true;
}
else epicproportionsmod_christmas_loaded = false;
}
@ -138,20 +145,12 @@ public static CreativeTabs YouTubers = new CreativeTabs("YouTubers")
};
public static Object logger;
@Mod.EventHandler
public void postInit(FMLPostInitializationEvent event) {
{
}
}

View File

@ -0,0 +1,12 @@
package com.jtrent238.youtubers.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
public class BlockBajanCanadianOre extends Block{
public BlockBajanCanadianOre(Material p_i45394_1_) {
super(p_i45394_1_);
}
}

View File

@ -0,0 +1,12 @@
package com.jtrent238.youtubers.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
public class BlockDanTDM_Logo extends Block{
public BlockDanTDM_Logo(Material p_i45394_1_) {
super(p_i45394_1_);
}
}

View File

@ -0,0 +1,28 @@
package com.jtrent238.youtubers.blocks;
import java.util.List;
import com.jtrent238.youtubers.YouTubers;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.StatCollector;
public class BlockDecoCommandBlock_Chain extends Block{
public BlockDecoCommandBlock_Chain(Material p_i45394_1_) {
super(p_i45394_1_);
}
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean isHeld) {
list.add(EnumChatFormatting.GRAY + StatCollector.translateToLocal("tooltip." + YouTubers.MODID + "." + "cmd" + "." + "deco"));
list.add(EnumChatFormatting.GRAY + StatCollector.translateToLocal("tooltip." + YouTubers.MODID + "." + "cmd" + "." + "break"));
}
}

View File

@ -0,0 +1,29 @@
package com.jtrent238.youtubers.blocks;
import java.util.List;
import com.jtrent238.youtubers.YouTubers;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.StatCollector;
public class BlockDecoCommandBlock_Impulse extends Block
{
public BlockDecoCommandBlock_Impulse(Material p_i45394_1_) {
super(p_i45394_1_);
}
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean isHeld) {
list.add(EnumChatFormatting.GRAY + StatCollector.translateToLocal("tooltip." + YouTubers.MODID + "." + "cmd" + "." + "deco"));
list.add(EnumChatFormatting.GRAY + StatCollector.translateToLocal("tooltip." + YouTubers.MODID + "." + "cmd" + "." + "break"));
}
}

View File

@ -0,0 +1,28 @@
package com.jtrent238.youtubers.blocks;
import java.util.List;
import com.jtrent238.youtubers.YouTubers;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.StatCollector;
public class BlockDecoCommandBlock_Repeat extends Block{
public BlockDecoCommandBlock_Repeat(Material p_i45394_1_) {
super(p_i45394_1_);
}
@SideOnly(Side.CLIENT)
public void addInformation(ItemStack stack, EntityPlayer player, List list, boolean isHeld) {
list.add(EnumChatFormatting.GRAY + StatCollector.translateToLocal("tooltip." + YouTubers.MODID + "." + "cmd" + "." + "deco"));
list.add(EnumChatFormatting.GRAY + StatCollector.translateToLocal("tooltip." + YouTubers.MODID + "." + "cmd" + "." + "break"));
}
}

View File

@ -0,0 +1,12 @@
package com.jtrent238.youtubers.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
public class BlockEckoSoldierOre extends Block{
public BlockEckoSoldierOre(Material p_i45394_1_) {
super(p_i45394_1_);
}
}

View File

@ -7,6 +7,7 @@ import com.jtrent238.youtubers.entity.youtuber.EntityHeyItsLuigi;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.BlockDragonEgg;
import net.minecraft.block.BlockFalling;
import net.minecraft.block.material.Material;
import net.minecraft.entity.Entity;
@ -17,13 +18,13 @@ import net.minecraft.tileentity.TileEntityBrewingStand;
import net.minecraft.world.IBlockAccess;
import net.minecraft.world.World;
public class BlockHeyItsLuigiEgg extends Block
public class BlockHeyItsLuigiEgg extends BlockDragonEgg
{
private static final String __OBFID = "CL_00000232";
public BlockHeyItsLuigiEgg()
{
super(Material.dragonEgg);
super();
this.setBlockBounds(0.0625F, 0.0F, 0.0625F, 0.9375F, 1.0F, 0.9375F);
}

View File

@ -0,0 +1,12 @@
package com.jtrent238.youtubers.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
public class BlockMagna_InvictusOre extends Block{
public BlockMagna_InvictusOre(Material p_i45394_1_) {
super(p_i45394_1_);
}
}

View File

@ -0,0 +1,12 @@
package com.jtrent238.youtubers.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
public class BlockRealThinknoodlesOre extends Block{
public BlockRealThinknoodlesOre(Material p_i45394_1_) {
super(p_i45394_1_);
}
}

View File

@ -0,0 +1,12 @@
package com.jtrent238.youtubers.blocks;
import net.minecraft.block.Block;
import net.minecraft.block.material.Material;
public class BlockSSundeeOre extends Block{
public BlockSSundeeOre(Material p_i45394_1_) {
super(p_i45394_1_);
}
}

View File

@ -0,0 +1,30 @@
package com.jtrent238.youtubers.blocks.materials;
import com.jtrent238.youtubers.BlockLoader;
import net.minecraft.block.material.Material;
import net.minecraft.world.IBlockAccess;
public class BlockBajanCanadian extends YouTuberBlock{
public BlockBajanCanadian(Material p_i45394_1_) {
super(p_i45394_1_);
}
/**
* Determines if this block can be used as the base of a beacon.
*
* @param world The current world
* @param x X Position
* @param y Y Position
* @param z Z position
* @param beaconX Beacons X Position
* @param beaconY Beacons Y Position
* @param beaconZ Beacons Z Position
* @return True, to support the beacon, and make it active with this block.
*/
public boolean isBeaconBase(IBlockAccess worldObj, int x, int y, int z, int beaconX, int beaconY, int beaconZ)
{
return this == BlockLoader.BlockBajanCanadian;
}
}

View File

@ -0,0 +1,30 @@
package com.jtrent238.youtubers.blocks.materials;
import com.jtrent238.youtubers.BlockLoader;
import net.minecraft.block.material.Material;
import net.minecraft.world.IBlockAccess;
public class BlockEckoSoldier extends YouTuberBlock{
public BlockEckoSoldier(Material p_i45394_1_) {
super(p_i45394_1_);
}
/**
* Determines if this block can be used as the base of a beacon.
*
* @param world The current world
* @param x X Position
* @param y Y Position
* @param z Z position
* @param beaconX Beacons X Position
* @param beaconY Beacons Y Position
* @param beaconZ Beacons Z Position
* @return True, to support the beacon, and make it active with this block.
*/
public boolean isBeaconBase(IBlockAccess worldObj, int x, int y, int z, int beaconX, int beaconY, int beaconZ)
{
return this == BlockLoader.BlockEckoSoldier;
}
}

View File

@ -0,0 +1,30 @@
package com.jtrent238.youtubers.blocks.materials;
import com.jtrent238.youtubers.BlockLoader;
import net.minecraft.block.material.Material;
import net.minecraft.world.IBlockAccess;
public class BlockMagna_Invictus extends YouTuberBlock{
public BlockMagna_Invictus(Material p_i45394_1_) {
super(p_i45394_1_);
}
/**
* Determines if this block can be used as the base of a beacon.
*
* @param world The current world
* @param x X Position
* @param y Y Position
* @param z Z position
* @param beaconX Beacons X Position
* @param beaconY Beacons Y Position
* @param beaconZ Beacons Z Position
* @return True, to support the beacon, and make it active with this block.
*/
public boolean isBeaconBase(IBlockAccess worldObj, int x, int y, int z, int beaconX, int beaconY, int beaconZ)
{
return this == BlockLoader.BlockMagna_Invictus;
}
}

View File

@ -0,0 +1,30 @@
package com.jtrent238.youtubers.blocks.materials;
import com.jtrent238.youtubers.BlockLoader;
import net.minecraft.block.material.Material;
import net.minecraft.world.IBlockAccess;
public class BlockRealThinknoodles extends YouTuberBlock{
public BlockRealThinknoodles(Material p_i45394_1_) {
super(p_i45394_1_);
}
/**
* Determines if this block can be used as the base of a beacon.
*
* @param world The current world
* @param x X Position
* @param y Y Position
* @param z Z position
* @param beaconX Beacons X Position
* @param beaconY Beacons Y Position
* @param beaconZ Beacons Z Position
* @return True, to support the beacon, and make it active with this block.
*/
public boolean isBeaconBase(IBlockAccess worldObj, int x, int y, int z, int beaconX, int beaconY, int beaconZ)
{
return this == BlockLoader.BlockRealThinknoodles;
}
}

View File

@ -0,0 +1,30 @@
package com.jtrent238.youtubers.blocks.materials;
import com.jtrent238.youtubers.BlockLoader;
import net.minecraft.block.material.Material;
import net.minecraft.world.IBlockAccess;
public class BlockSSundee extends YouTuberBlock{
public BlockSSundee(Material p_i45394_1_) {
super(p_i45394_1_);
}
/**
* Determines if this block can be used as the base of a beacon.
*
* @param world The current world
* @param x X Position
* @param y Y Position
* @param z Z position
* @param beaconX Beacons X Position
* @param beaconY Beacons Y Position
* @param beaconZ Beacons Z Position
* @return True, to support the beacon, and make it active with this block.
*/
public boolean isBeaconBase(IBlockAccess worldObj, int x, int y, int z, int beaconX, int beaconY, int beaconZ)
{
return this == BlockLoader.BlockSSundee;
}
}

View File

@ -8,7 +8,7 @@ import net.minecraft.world.IBlockAccess;
public class YouTuberBlock extends Block{
protected YouTuberBlock(Material p_i45394_1_) {
public YouTuberBlock(Material p_i45394_1_) {
super(p_i45394_1_);
}

View File

@ -1,18 +1,40 @@
package com.jtrent238.youtubers.client;
import com.jtrent238.youtubers.PlayerList;
import com.jtrent238.youtubers.common.CommonProxy;
import com.jtrent238.youtubers.entity.youtuber.EntityAntvenom;
import com.jtrent238.youtubers.entity.youtuber.EntityBajanCanadian;
import com.jtrent238.youtubers.entity.youtuber.EntityDanTDM;
import com.jtrent238.youtubers.entity.youtuber.EntityDerpSSundee;
import com.jtrent238.youtubers.entity.youtuber.EntityEckoSoldier;
import com.jtrent238.youtubers.entity.youtuber.EntityHeyItsLuigi;
import com.jtrent238.youtubers.entity.youtuber.EntityJoy_Rider_2284;
import com.jtrent238.youtubers.entity.youtuber.EntityLaurie201;
import com.jtrent238.youtubers.entity.youtuber.EntityMagna_Invictus;
import com.jtrent238.youtubers.entity.youtuber.EntityRealThinknoodles;
import com.jtrent238.youtubers.entity.youtuber.EntitySSundee;
import com.jtrent238.youtubers.entity.youtuber.EntitySethBling;
import com.jtrent238.youtubers.entity.youtuber.Entity_MrGregor_;
import com.jtrent238.youtubers.entity.youtuber.Entityblohod;
import com.jtrent238.youtubers.entity.youtuber.EntityskythekidRS;
import com.jtrent238.youtubers.entity.EntityCraigTheMailman;
import com.jtrent238.youtubers.entity.EntityCrazyFan;
import com.jtrent238.youtubers.entity.EntityFakeDanTDM;
import com.jtrent238.youtubers.entity.EntityGrim;
import com.jtrent238.youtubers.entity.EntityMcDuck;
import com.jtrent238.youtubers.entity.EntityTerrance;
import com.jtrent238.youtubers.entity.EntityTrayaurus;
import com.jtrent238.youtubers.entity.player.EntityAlexIsCool;
import com.jtrent238.youtubers.entity.player.EntityCowMan;
import com.jtrent238.youtubers.entity.player.EntityFar;
import com.jtrent238.youtubers.entity.player.EntityHER08RINE;
import com.jtrent238.youtubers.entity.player.EntityRandomPlayer;
import com.jtrent238.youtubers.entity.player.Entitycaptainspy6;
import com.jtrent238.youtubers.entity.player.EntitymegablasterT;
import com.jtrent238.youtubers.entity.youtuber.EntityxJSQ;
import com.jtrent238.youtubers.model.ModelBipedCustom;
import com.jtrent238.youtubers.model.ModelGrim;
import com.jtrent238.youtubers.render.GrimRender;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.event.FMLInitializationEvent;
@ -21,6 +43,9 @@ import cpw.mods.fml.common.eventhandler.EventPriority;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.common.gameevent.TickEvent.PlayerTickEvent;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.model.ModelPig;
import net.minecraft.client.model.ModelVillager;
import net.minecraft.client.model.ModelWolf;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.util.ResourceLocation;
@ -31,26 +56,51 @@ public class ClientProxy extends CommonProxy
public void init(FMLInitializationEvent e) {
super.init (e);
RenderingRegistry.registerEntityRenderingHandler(EntityxJSQ.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/xJSQ.png");}});
RenderingRegistry.registerEntityRenderingHandler(Entityblohod.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/blohod.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityDanTDM.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/DanTDM.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityLaurie201.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/Laurie201.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntitySethBling.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/SethBling.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityskythekidRS.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/skythekidRS.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityHeyItsLuigi.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/HeyItsLuigi.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityJoy_Rider_2284.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/Joy_Rider_2284.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityAntvenom.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/Antvenom.png");}});
RenderingRegistry.registerEntityRenderingHandler(Entity_MrGregor_.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/_MrGregor_.png");}});
//NOT YOUTUBERS
RenderingRegistry.registerEntityRenderingHandler(Entitycaptainspy6.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/player/captainspy6.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityHER08RINE.class, new RenderLiving(new ModelBiped(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/player/HER08RINE.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityxJSQ.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/xJSQ.png");}});
RenderingRegistry.registerEntityRenderingHandler(Entityblohod.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/blohod.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityDanTDM.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/DanTDM.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityLaurie201.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/Laurie201.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntitySethBling.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/SethBling.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityskythekidRS.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/skythekidRS.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityHeyItsLuigi.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/HeyItsLuigi.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityJoy_Rider_2284.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/Joy_Rider_2284.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityAntvenom.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/Antvenom.png");}});
RenderingRegistry.registerEntityRenderingHandler(Entity_MrGregor_.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/_MrGregor_.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntitySSundee.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/SSundee.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityDerpSSundee.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/DerpSSundee.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityMagna_Invictus.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/Magna_Invictus.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityEckoSoldier.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/EckoSoldier.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityBajanCanadian.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/BajanCanadian.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityRealThinknoodles.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/RealThinknoodles.png");}});
//NOT YOUTUBERS
RenderingRegistry.registerEntityRenderingHandler(Entitycaptainspy6.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/player/captainspy6.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityHER08RINE.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/player/HER08RINE.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityAlexIsCool.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/player/AlexIsCool.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntitymegablasterT.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/player/megablasterT.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityCowMan.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/player/CowMan.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityFar.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/player/Far.png");}});
//Render Other
RenderingRegistry.registerEntityRenderingHandler(EntityGrim.class, new GrimRender(new ModelGrim(), null, 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/EntityGrim.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityTerrance.class, new RenderLiving(new ModelPig(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/EntityTerrance.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityTrayaurus.class, new RenderLiving(new ModelVillager(0), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/EntityTrayaurus.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityCraigTheMailman.class, new RenderLiving(new ModelBiped(0), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/EntityCraigTheMailman.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityMcDuck.class, new RenderLiving(new ModelBiped(0), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/EntityMcDuck.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityFakeDanTDM.class, new RenderLiving(new ModelBiped(0), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/youtuber/DanTDM.png");}});
RenderingRegistry.registerEntityRenderingHandler(EntityCrazyFan.class, new RenderLiving(new ModelBiped(0), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/EntityCrazyFan.png");}});
}
RenderingRegistry.registerEntityRenderingHandler(EntityRandomPlayer.class, new RenderLiving(new ModelBipedCustom(), 0){protected ResourceLocation getEntityTexture(Entity par1Entity){return new ResourceLocation("youtubers:textures/entity/player/" + PlayerList.getRandomPlayerName() + ".png");}});
}
public void postInit(FMLPostInitializationEvent e) {

View File

@ -0,0 +1,199 @@
package com.jtrent238.youtubers.entity;
import com.jtrent238.youtubers.ItemLoader;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.boss.IBossDisplayData;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.monster.EntityGolem;
import net.minecraft.entity.monster.IMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
public class EntityCraigTheMailman extends EntityGolem implements IBossDisplayData
{
World world = null;
private int attackTimer;
private DamageSource damageSource;
private EntityPlayer entityAttackedBy;
private ResourceLocation locationCape;
private String name = "Craig The Mailman";
public EntityCraigTheMailman(World var1)
{
super(var1);
world = var1;
experienceValue = 4;
this.isImmuneToFire = true;
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
this.hasCustomNameTag();
this.setCustomNameTag(name);
addRandomArmor();
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
public boolean attackEntityAsMob(Entity p_70652_1_)
{
this.attackTimer = 10;
this.worldObj.setEntityState(this, (byte)4);
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
if (flag)
{
p_70652_1_.motionY += 0.4000000059604645D;
}
this.playSound("", 1.0F, 1.0F);
return flag;
}
protected void addRandomArmor(){
}
/*
protected void dropRareDrop(int par1){
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
}
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return true;
}
/**
* Drop items of this living's type
*/
protected void dropFewItems(boolean var1, int var2)
{
this.entityDropItem(new ItemStack(Blocks.chest, 1).setStackDisplayName(EnumChatFormatting.AQUA + "Package"), 1F);
this.entityDropItem(new ItemStack(Blocks.skull, 1, 3), 1F);
}
/**
* Returns the sound this mob makes while it's alive.
*/
protected String getLivingSound()
{
return "mob.villager.idle";
}
/**
* Returns the sound this mob makes when it is hurt.
*/
protected String getHurtSound()
{
return "mob.villager.hit";
}
/**
* Returns the sound this mob makes on death.
*/
protected String getDeathSound()
{
return "mob.villager.death";
}
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
protected void fall(float l){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
super.fall(l);
Entity entity = this;
}
public void onCriticalHit(Entity entity2) {
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public void onKillEntity(EntityLiving entityLiving){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public String getEntityName(){
return name;
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 4;
}
public boolean func_152122_n()
{
return this.locationCape == new ResourceLocation("youtubers:textures/entity/cloak/MC15.png");
}
public ResourceLocation renderCloak (float par1)
{
return new ResourceLocation("youtubers:textures/entity/cloak/MC15.png");
}
}

View File

@ -0,0 +1,237 @@
package com.jtrent238.youtubers.entity;
import com.jtrent238.youtubers.ItemLoader;
import com.jtrent238.youtubers.YouTubers;
import com.jtrent238.youtubers.entity.youtuber.EntityAntvenom;
import com.jtrent238.youtubers.entity.youtuber.EntityBajanCanadian;
import com.jtrent238.youtubers.entity.youtuber.EntityDanTDM;
import com.jtrent238.youtubers.entity.youtuber.EntityDerpSSundee;
import com.jtrent238.youtubers.entity.youtuber.EntityEckoSoldier;
import com.jtrent238.youtubers.entity.youtuber.EntityHeyItsLuigi;
import com.jtrent238.youtubers.entity.youtuber.EntityJoy_Rider_2284;
import com.jtrent238.youtubers.entity.youtuber.EntityLaurie201;
import com.jtrent238.youtubers.entity.youtuber.EntityMagna_Invictus;
import com.jtrent238.youtubers.entity.youtuber.EntityRealThinknoodles;
import com.jtrent238.youtubers.entity.youtuber.EntitySSundee;
import com.jtrent238.youtubers.entity.youtuber.EntitySethBling;
import com.jtrent238.youtubers.entity.youtuber.Entity_MrGregor_;
import com.jtrent238.youtubers.entity.youtuber.Entityblohod;
import com.jtrent238.youtubers.entity.youtuber.EntityskythekidRS;
import com.jtrent238.youtubers.entity.youtuber.EntityxJSQ;
import cpw.mods.fml.common.Loader;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.boss.IBossDisplayData;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.monster.EntityGolem;
import net.minecraft.entity.monster.IMob;
import net.minecraft.entity.passive.EntityVillager;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
public class EntityCrazyFan extends EntityGolem implements IBossDisplayData
{
World world = null;
private int attackTimer;
private DamageSource damageSource;
private EntityPlayer entityAttackedBy;
private ResourceLocation locationCape;
private String name = "";
public EntityCrazyFan(World var1)
{
super(var1);
world = var1;
experienceValue = 4;
this.isImmuneToFire = true;
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, false));
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(1, new EntityAIHurtByTarget(this, true));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityPlayer.class, 0, true));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityxJSQ.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, Entityblohod.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityDanTDM.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityLaurie201.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntitySethBling.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityskythekidRS.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityHeyItsLuigi.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityJoy_Rider_2284.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityAntvenom.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, Entity_MrGregor_.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntitySSundee.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityDerpSSundee.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityMagna_Invictus.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityEckoSoldier.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityBajanCanadian.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, EntityRealThinknoodles.class, 0, false));
if(YouTubers.epicproportionsmod_loaded == true) {
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, com.jtrent238.epicproportions.entity.EntityPat.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, com.jtrent238.epicproportions.entity.EntityJen.class, 0, false));
}
if(YouTubers.epicproportionsmod_halloween_loaded == true) {
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, com.jtrent238.epicproportions.addons.halloween.entity.EntitySpookyPat.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, com.jtrent238.epicproportions.addons.halloween.entity.EntitySpookyJen.class, 0, false));
}
if(YouTubers.epicproportionsmod_christmas_loaded == true) {
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, com.jtrent238.epicproportions.addons.christmas.entity.EntityXmasPat.class, 0, false));
this.targetTasks.addTask(2, new EntityAINearestAttackableTarget(this, com.jtrent238.epicproportions.addons.christmas.entity.EntityXmasJen.class, 0, false));
}
this.hasCustomNameTag();
this.setCustomNameTag(name);
addRandomArmor();
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
public boolean attackEntityAsMob(Entity p_70652_1_)
{
this.attackTimer = 10;
this.worldObj.setEntityState(this, (byte)4);
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
if (flag)
{
p_70652_1_.motionY += 0.4000000059604645D;
}
this.playSound("", 1.0F, 1.0F);
return flag;
}
protected void addRandomArmor(){
}
/*
protected void dropRareDrop(int par1){
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
}
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return true;
}
/**
* Drop items of this living's type
*/
protected void dropFewItems(boolean var1, int var2)
{
this.entityDropItem(new ItemStack(ItemLoader.ItemFanMail, 16), 1F);//.setStackDisplayName(EnumChatFormatting.AQUA + StatCollector.translateToLocal("item.ItemFanMail.name")), 1F);
//this.entityDropItem(new ItemStack(Blocks.skull, 1, 3), 1F);
}
/**
* Returns the sound this mob makes while it's alive.
*/
protected String getLivingSound()
{
return "";
}
/**
* Returns the sound this mob makes when it is hurt.
*/
protected String getHurtSound()
{
return "";
}
/**
* Returns the sound this mob makes on death.
*/
protected String getDeathSound()
{
return "";
}
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
protected void fall(float l){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
super.fall(l);
Entity entity = this;
}
public void onCriticalHit(Entity entity2) {
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public void onKillEntity(EntityLiving entityLiving){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public String getEntityName(){
return name;
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 4;
}
}

View File

@ -0,0 +1,25 @@
package com.jtrent238.youtubers.entity;
import com.jtrent238.youtubers.entity.youtuber.EntityDanTDM;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.world.World;
public class EntityFakeDanTDM extends EntityDanTDM{
private String name = EnumChatFormatting.RED + "DanTDM";
public EntityFakeDanTDM(World var1) {
super(var1);
this.hasCustomNameTag();
this.setCustomNameTag(name );
}
public String getEntityName(){
return name;
}
}

View File

@ -0,0 +1,637 @@
package com.jtrent238.youtubers.entity;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.Block;
import net.minecraft.block.BlockColored;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIBeg;
import net.minecraft.entity.ai.EntityAIFollowOwner;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILeapAtTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMate;
import net.minecraft.entity.ai.EntityAIOwnerHurtByTarget;
import net.minecraft.entity.ai.EntityAIOwnerHurtTarget;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITargetNonTamed;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.monster.EntityCreeper;
import net.minecraft.entity.monster.EntityGhast;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.passive.EntityHorse;
import net.minecraft.entity.passive.EntitySheep;
import net.minecraft.entity.passive.EntityTameable;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.projectile.EntityArrow;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.pathfinding.PathEntity;
import net.minecraft.util.DamageSource;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
public class EntityGrim extends EntityTameable
{
private float field_70926_e;
private float field_70924_f;
/** true is the wolf is wet else false */
private boolean isShaking;
private boolean field_70928_h;
/** This time increases while wolf is shaking and emitting water particles. */
private float timeWolfIsShaking;
private float prevTimeWolfIsShaking;
private static final String __OBFID = "CL_00001654";
public EntityGrim(World p_i1696_1_)
{
super(p_i1696_1_);
this.setSize(0.6F, 0.8F);
this.getNavigator().setAvoidsWater(true);
this.tasks.addTask(1, new EntityAISwimming(this));
this.tasks.addTask(2, this.aiSit);
this.tasks.addTask(3, new EntityAILeapAtTarget(this, 0.4F));
this.tasks.addTask(4, new EntityAIAttackOnCollide(this, 1.0D, true));
this.tasks.addTask(5, new EntityAIFollowOwner(this, 1.0D, 10.0F, 2.0F));
this.tasks.addTask(6, new EntityAIMate(this, 1.0D));
this.tasks.addTask(7, new EntityAIWander(this, 1.0D));
//this.tasks.addTask(8, new EntityAIBeg(this, 8.0F));
this.tasks.addTask(9, new EntityAIWatchClosest(this, EntityPlayer.class, 8.0F));
this.tasks.addTask(9, new EntityAILookIdle(this));
this.targetTasks.addTask(1, new EntityAIOwnerHurtByTarget(this));
this.targetTasks.addTask(2, new EntityAIOwnerHurtTarget(this));
this.targetTasks.addTask(3, new EntityAIHurtByTarget(this, true));
this.targetTasks.addTask(4, new EntityAITargetNonTamed(this, EntitySheep.class, 200, false));
this.setTamed(false);
this.hasCustomNameTag();
//if(this.entityAge < 1) {
// this.setCustomNameTag("Baby Grim");
//}
this.setCustomNameTag("Grim");
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.30000001192092896D);
if (this.isTamed())
{
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(20.0D);
}
else
{
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(8.0D);
}
}
/**
* Returns true if the newer Entity AI code should be run
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Sets the active target the Task system uses for tracking
*/
public void setAttackTarget(EntityLivingBase p_70624_1_)
{
super.setAttackTarget(p_70624_1_);
if (p_70624_1_ == null)
{
this.setAngry(false);
}
else if (!this.isTamed())
{
this.setAngry(true);
}
}
/**
* main AI tick function, replaces updateEntityActionState
*/
protected void updateAITick()
{
this.dataWatcher.updateObject(18, Float.valueOf(this.getHealth()));
}
protected void entityInit()
{
super.entityInit();
this.dataWatcher.addObject(18, new Float(this.getHealth()));
this.dataWatcher.addObject(19, new Byte((byte)0));
this.dataWatcher.addObject(20, new Byte((byte)BlockColored.func_150032_b(1)));
}
protected void func_145780_a(int p_145780_1_, int p_145780_2_, int p_145780_3_, Block p_145780_4_)
{
this.playSound("mob.wolf.step", 0.15F, 1.0F);
}
/**
* (abstract) Protected helper method to write subclass entity data to NBT.
*/
public void writeEntityToNBT(NBTTagCompound p_70014_1_)
{
super.writeEntityToNBT(p_70014_1_);
p_70014_1_.setBoolean("Angry", this.isAngry());
p_70014_1_.setByte("CollarColor", (byte)this.getCollarColor());
}
/**
* (abstract) Protected helper method to read subclass entity data from NBT.
*/
public void readEntityFromNBT(NBTTagCompound p_70037_1_)
{
super.readEntityFromNBT(p_70037_1_);
this.setAngry(p_70037_1_.getBoolean("Angry"));
if (p_70037_1_.hasKey("CollarColor", 99))
{
this.setCollarColor(p_70037_1_.getByte("CollarColor"));
}
}
/**
* Returns the sound this mob makes while it's alive.
*/
protected String getLivingSound()
{
return this.isAngry() ? "mob.wolf.growl" : (this.rand.nextInt(3) == 0 ? (this.isTamed() && this.dataWatcher.getWatchableObjectFloat(18) < 10.0F ? "mob.wolf.whine" : "mob.wolf.panting") : "mob.wolf.bark");
}
/**
* Returns the sound this mob makes when it is hurt.
*/
protected String getHurtSound()
{
return "mob.wolf.hurt";
}
/**
* Returns the sound this mob makes on death.
*/
protected String getDeathSound()
{
return "mob.wolf.death";
}
/**
* Returns the volume for the sounds this mob makes.
*/
protected float getSoundVolume()
{
return 0.4F;
}
protected Item getDropItem()
{
return Item.getItemById(-1);
}
/**
* Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons
* use this to react to sunlight and start to burn.
*/
public void onLivingUpdate()
{
super.onLivingUpdate();
if (!this.worldObj.isRemote && this.isShaking && !this.field_70928_h && !this.hasPath() && this.onGround)
{
this.field_70928_h = true;
this.timeWolfIsShaking = 0.0F;
this.prevTimeWolfIsShaking = 0.0F;
this.worldObj.setEntityState(this, (byte)8);
}
}
/**
* Called to update the entity's position/logic.
*/
public void onUpdate()
{
super.onUpdate();
this.field_70924_f = this.field_70926_e;
if (this.func_70922_bv())
{
this.field_70926_e += (1.0F - this.field_70926_e) * 0.4F;
}
else
{
this.field_70926_e += (0.0F - this.field_70926_e) * 0.4F;
}
if (this.func_70922_bv())
{
this.numTicksToChaseTarget = 10;
}
if (this.isWet())
{
this.isShaking = true;
this.field_70928_h = false;
this.timeWolfIsShaking = 0.0F;
this.prevTimeWolfIsShaking = 0.0F;
}
else if ((this.isShaking || this.field_70928_h) && this.field_70928_h)
{
if (this.timeWolfIsShaking == 0.0F)
{
this.playSound("mob.wolf.shake", this.getSoundVolume(), (this.rand.nextFloat() - this.rand.nextFloat()) * 0.2F + 1.0F);
}
this.prevTimeWolfIsShaking = this.timeWolfIsShaking;
this.timeWolfIsShaking += 0.05F;
if (this.prevTimeWolfIsShaking >= 2.0F)
{
this.isShaking = false;
this.field_70928_h = false;
this.prevTimeWolfIsShaking = 0.0F;
this.timeWolfIsShaking = 0.0F;
}
if (this.timeWolfIsShaking > 0.4F)
{
float f = (float)this.boundingBox.minY;
int i = (int)(MathHelper.sin((this.timeWolfIsShaking - 0.4F) * (float)Math.PI) * 7.0F);
for (int j = 0; j < i; ++j)
{
float f1 = (this.rand.nextFloat() * 2.0F - 1.0F) * this.width * 0.5F;
float f2 = (this.rand.nextFloat() * 2.0F - 1.0F) * this.width * 0.5F;
this.worldObj.spawnParticle("splash", this.posX + (double)f1, (double)(f + 0.8F), this.posZ + (double)f2, this.motionX, this.motionY, this.motionZ);
}
}
}
}
@SideOnly(Side.CLIENT)
public boolean getWolfShaking()
{
return this.isShaking;
}
/**
* Used when calculating the amount of shading to apply while the wolf is shaking.
*/
@SideOnly(Side.CLIENT)
public float getShadingWhileShaking(float p_70915_1_)
{
return 0.75F + (this.prevTimeWolfIsShaking + (this.timeWolfIsShaking - this.prevTimeWolfIsShaking) * p_70915_1_) / 2.0F * 0.25F;
}
@SideOnly(Side.CLIENT)
public float getShakeAngle(float p_70923_1_, float p_70923_2_)
{
float f2 = (this.prevTimeWolfIsShaking + (this.timeWolfIsShaking - this.prevTimeWolfIsShaking) * p_70923_1_ + p_70923_2_) / 1.8F;
if (f2 < 0.0F)
{
f2 = 0.0F;
}
else if (f2 > 1.0F)
{
f2 = 1.0F;
}
return MathHelper.sin(f2 * (float)Math.PI) * MathHelper.sin(f2 * (float)Math.PI * 11.0F) * 0.15F * (float)Math.PI;
}
public float getEyeHeight()
{
return this.height * 0.8F;
}
@SideOnly(Side.CLIENT)
public float getInterestedAngle(float p_70917_1_)
{
return (this.field_70924_f + (this.field_70926_e - this.field_70924_f) * p_70917_1_) * 0.15F * (float)Math.PI;
}
/**
* The speed it takes to move the entityliving's rotationPitch through the faceEntity method. This is only currently
* use in wolves.
*/
public int getVerticalFaceSpeed()
{
return this.isSitting() ? 20 : super.getVerticalFaceSpeed();
}
/**
* Called when the entity is attacked.
*/
public boolean attackEntityFrom(DamageSource p_70097_1_, float p_70097_2_)
{
if (this.isEntityInvulnerable())
{
return false;
}
else
{
Entity entity = p_70097_1_.getEntity();
this.aiSit.setSitting(false);
if (entity != null && !(entity instanceof EntityPlayer) && !(entity instanceof EntityArrow))
{
p_70097_2_ = (p_70097_2_ + 1.0F) / 2.0F;
}
return super.attackEntityFrom(p_70097_1_, p_70097_2_);
}
}
public boolean attackEntityAsMob(Entity p_70652_1_)
{
int i = this.isTamed() ? 4 : 2;
return p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)i);
}
public void setTamed(boolean p_70903_1_)
{
super.setTamed(p_70903_1_);
if (p_70903_1_)
{
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(20.0D);
}
else
{
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(8.0D);
}
}
/**
* Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig.
*/
public boolean interact(EntityPlayer p_70085_1_)
{
ItemStack itemstack = p_70085_1_.inventory.getCurrentItem();
if (this.isTamed())
{
if (itemstack != null)
{
if (itemstack.getItem() instanceof ItemFood)
{
ItemFood itemfood = (ItemFood)itemstack.getItem();
if (itemfood.isWolfsFavoriteMeat() && this.dataWatcher.getWatchableObjectFloat(18) < 20.0F)
{
if (!p_70085_1_.capabilities.isCreativeMode)
{
--itemstack.stackSize;
}
this.heal((float)itemfood.func_150905_g(itemstack));
if (itemstack.stackSize <= 0)
{
p_70085_1_.inventory.setInventorySlotContents(p_70085_1_.inventory.currentItem, (ItemStack)null);
}
return true;
}
}
else if (itemstack.getItem() == Items.dye)
{
int i = BlockColored.func_150032_b(itemstack.getItemDamage());
if (i != this.getCollarColor())
{
this.setCollarColor(i);
if (!p_70085_1_.capabilities.isCreativeMode && --itemstack.stackSize <= 0)
{
p_70085_1_.inventory.setInventorySlotContents(p_70085_1_.inventory.currentItem, (ItemStack)null);
}
return true;
}
}
}
if (this.func_152114_e(p_70085_1_) && !this.worldObj.isRemote && !this.isBreedingItem(itemstack))
{
this.aiSit.setSitting(!this.isSitting());
this.isJumping = false;
this.setPathToEntity((PathEntity)null);
this.setTarget((Entity)null);
this.setAttackTarget((EntityLivingBase)null);
}
}
else if (itemstack != null && itemstack.getItem() == Items.bone && !this.isAngry())
{
if (!p_70085_1_.capabilities.isCreativeMode)
{
--itemstack.stackSize;
}
if (itemstack.stackSize <= 0)
{
p_70085_1_.inventory.setInventorySlotContents(p_70085_1_.inventory.currentItem, (ItemStack)null);
}
if (!this.worldObj.isRemote)
{
if (this.rand.nextInt(3) == 0)
{
this.setTamed(true);
this.setPathToEntity((PathEntity)null);
this.setAttackTarget((EntityLivingBase)null);
this.aiSit.setSitting(true);
this.setHealth(20.0F);
this.func_152115_b(p_70085_1_.getUniqueID().toString());
this.playTameEffect(true);
this.worldObj.setEntityState(this, (byte)7);
}
else
{
this.playTameEffect(false);
this.worldObj.setEntityState(this, (byte)6);
}
}
return true;
}
return super.interact(p_70085_1_);
}
@SideOnly(Side.CLIENT)
public void handleHealthUpdate(byte p_70103_1_)
{
if (p_70103_1_ == 8)
{
this.field_70928_h = true;
this.timeWolfIsShaking = 0.0F;
this.prevTimeWolfIsShaking = 0.0F;
}
else
{
super.handleHealthUpdate(p_70103_1_);
}
}
@SideOnly(Side.CLIENT)
public float getTailRotation()
{
return this.isAngry() ? 1.5393804F : (this.isTamed() ? (0.55F - (20.0F - this.dataWatcher.getWatchableObjectFloat(18)) * 0.02F) * (float)Math.PI : ((float)Math.PI / 5F));
}
/**
* Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on
* the animal type)
*/
public boolean isBreedingItem(ItemStack p_70877_1_)
{
return p_70877_1_ == null ? false : (!(p_70877_1_.getItem() instanceof ItemFood) ? false : ((ItemFood)p_70877_1_.getItem()).isWolfsFavoriteMeat());
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 8;
}
/**
* Determines whether this wolf is angry or not.
*/
public boolean isAngry()
{
return (this.dataWatcher.getWatchableObjectByte(16) & 2) != 0;
}
/**
* Sets whether this wolf is angry or not.
*/
public void setAngry(boolean p_70916_1_)
{
byte b0 = this.dataWatcher.getWatchableObjectByte(16);
if (p_70916_1_)
{
this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 | 2)));
}
else
{
this.dataWatcher.updateObject(16, Byte.valueOf((byte)(b0 & -3)));
}
}
/**
* Return this wolf's collar color.
*/
public int getCollarColor()
{
return this.dataWatcher.getWatchableObjectByte(20) & 15;
}
/**
* Set this wolf's collar color.
*/
public void setCollarColor(int p_82185_1_)
{
this.dataWatcher.updateObject(20, Byte.valueOf((byte)(p_82185_1_ & 15)));
}
public EntityGrim createChild(EntityAgeable p_90011_1_)
{
EntityGrim EntityGrim = new EntityGrim(this.worldObj);
String s = this.func_152113_b();
if (s != null && s.trim().length() > 0)
{
EntityGrim.func_152115_b(s);
EntityGrim.setTamed(true);
}
return EntityGrim;
}
public void func_70918_i(boolean p_70918_1_)
{
if (p_70918_1_)
{
this.dataWatcher.updateObject(19, Byte.valueOf((byte)1));
}
else
{
this.dataWatcher.updateObject(19, Byte.valueOf((byte)0));
}
}
/**
* Returns true if the mob is currently able to mate with the specified mob.
*/
public boolean canMateWith(EntityAnimal p_70878_1_)
{
if (p_70878_1_ == this)
{
return false;
}
else if (!this.isTamed())
{
return false;
}
else if (!(p_70878_1_ instanceof EntityGrim))
{
return false;
}
else
{
EntityGrim EntityGrim = (EntityGrim)p_70878_1_;
return !EntityGrim.isTamed() ? false : (EntityGrim.isSitting() ? false : this.isInLove() && EntityGrim.isInLove());
}
}
public boolean func_70922_bv()
{
return this.dataWatcher.getWatchableObjectByte(19) == 1;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return !this.isTamed() && this.ticksExisted > 2400;
}
public boolean func_142018_a(EntityLivingBase p_142018_1_, EntityLivingBase p_142018_2_)
{
if (!(p_142018_1_ instanceof EntityCreeper) && !(p_142018_1_ instanceof EntityGhast))
{
if (p_142018_1_ instanceof EntityGrim)
{
EntityGrim EntityGrim = (EntityGrim)p_142018_1_;
if (EntityGrim.isTamed() && EntityGrim.getOwner() == p_142018_2_)
{
return false;
}
}
return p_142018_1_ instanceof EntityPlayer && p_142018_2_ instanceof EntityPlayer && !((EntityPlayer)p_142018_2_).canAttackPlayer((EntityPlayer)p_142018_1_) ? false : !(p_142018_1_ instanceof EntityHorse) || !((EntityHorse)p_142018_1_).isTame();
}
else
{
return false;
}
}
}

View File

@ -0,0 +1,247 @@
package com.jtrent238.youtubers.entity;
import net.minecraft.block.Block;
import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIFollowParent;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMate;
import net.minecraft.entity.ai.EntityAIPanic;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITempt;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemSeeds;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.MathHelper;
import net.minecraft.world.World;
public class EntityMcDuck extends EntityAnimal
{
public float field_70886_e;
public float destPos;
public float field_70884_g;
public float field_70888_h;
public float field_70889_i = 1.0F;
/** The time until the next egg is spawned. */
public int timeUntilNextEgg;
public boolean field_152118_bv;
private String name = __OBFID;
private static final String __OBFID = "CL_00001639";
public EntityMcDuck(World p_i1682_1_)
{
super(p_i1682_1_);
this.setSize(0.3F, 0.7F);
this.timeUntilNextEgg = this.rand.nextInt(6000) + 6000;
this.tasks.addTask(0, new EntityAISwimming(this));
this.tasks.addTask(1, new EntityAIPanic(this, 1.4D));
this.tasks.addTask(2, new EntityAIMate(this, 1.0D));
this.tasks.addTask(3, new EntityAITempt(this, 1.0D, Items.wheat_seeds, false));
this.tasks.addTask(4, new EntityAIFollowParent(this, 1.1D));
this.tasks.addTask(5, new EntityAIWander(this, 1.0D));
this.tasks.addTask(6, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(7, new EntityAILookIdle(this));
this.hasCustomNameTag();
this.setCustomNameTag(name);
}
/**
* Returns true if the newer Entity AI code should be run
*/
public boolean isAIEnabled()
{
return true;
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(8.0D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
/**
* Called frequently so the entity can update its state every tick as required. For example, zombies and skeletons
* use this to react to sunlight and start to burn.
*/
public void onLivingUpdate()
{
super.onLivingUpdate();
this.field_70888_h = this.field_70886_e;
this.field_70884_g = this.destPos;
this.destPos = (float)((double)this.destPos + (double)(this.onGround ? -1 : 4) * 0.3D);
if (this.destPos < 0.0F)
{
this.destPos = 0.0F;
}
if (this.destPos > 1.0F)
{
this.destPos = 1.0F;
}
if (!this.onGround && this.field_70889_i < 1.0F)
{
this.field_70889_i = 1.0F;
}
this.field_70889_i = (float)((double)this.field_70889_i * 0.9D);
if (!this.onGround && this.motionY < 0.0D)
{
this.motionY *= 0.6D;
}
this.field_70886_e += this.field_70889_i * 2.0F;
if (!this.worldObj.isRemote && !this.isChild() && !this.func_152116_bZ() && --this.timeUntilNextEgg <= 0)
{
this.playSound("mob.chicken.plop", 1.0F, (this.rand.nextFloat() - this.rand.nextFloat()) * 0.2F + 1.0F);
this.dropItem(Items.egg, 1);
this.timeUntilNextEgg = this.rand.nextInt(6000) + 6000;
}
}
/**
* Called when the mob is falling. Calculates and applies fall damage.
*/
protected void fall(float p_70069_1_) {}
/**
* Returns the sound this mob makes while it's alive.
*/
protected String getLivingSound()
{
return "mob.chicken.say";
}
/**
* Returns the sound this mob makes when it is hurt.
*/
protected String getHurtSound()
{
return "mob.chicken.hurt";
}
/**
* Returns the sound this mob makes on death.
*/
protected String getDeathSound()
{
return "mob.chicken.hurt";
}
protected void func_145780_a(int p_145780_1_, int p_145780_2_, int p_145780_3_, Block p_145780_4_)
{
this.playSound("mob.chicken.step", 0.15F, 1.0F);
}
protected Item getDropItem()
{
return Items.feather;
}
/**
* Drop 0-2 items of this living's type. @param par1 - Whether this entity has recently been hit by a player. @param
* par2 - Level of Looting used to kill this mob.
*/
protected void dropFewItems(boolean p_70628_1_, int p_70628_2_)
{
int j = this.rand.nextInt(3) + this.rand.nextInt(1 + p_70628_2_);
for (int k = 0; k < j; ++k)
{
this.dropItem(Items.feather, 1);
}
if (this.isBurning())
{
this.dropItem(Items.cooked_chicken, 1);
}
else
{
this.dropItem(Items.chicken, 1);
}
}
public EntityMcDuck createChild(EntityAgeable p_90011_1_)
{
return new EntityMcDuck(this.worldObj);
}
/**
* Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on
* the animal type)
*/
public boolean isBreedingItem(ItemStack p_70877_1_)
{
return p_70877_1_ != null && p_70877_1_.getItem() instanceof ItemSeeds;
}
/**
* (abstract) Protected helper method to read subclass entity data from NBT.
*/
public void readEntityFromNBT(NBTTagCompound p_70037_1_)
{
super.readEntityFromNBT(p_70037_1_);
this.field_152118_bv = p_70037_1_.getBoolean("IsChickenJockey");
}
/**
* Get the experience points the entity currently has.
*/
protected int getExperiencePoints(EntityPlayer p_70693_1_)
{
return this.func_152116_bZ() ? 10 : super.getExperiencePoints(p_70693_1_);
}
/**
* (abstract) Protected helper method to write subclass entity data to NBT.
*/
public void writeEntityToNBT(NBTTagCompound p_70014_1_)
{
super.writeEntityToNBT(p_70014_1_);
p_70014_1_.setBoolean("IsChickenJockey", this.field_152118_bv);
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return this.func_152116_bZ() && this.riddenByEntity == null;
}
public void updateRiderPosition()
{
super.updateRiderPosition();
float f = MathHelper.sin(this.renderYawOffset * (float)Math.PI / 180.0F);
float f1 = MathHelper.cos(this.renderYawOffset * (float)Math.PI / 180.0F);
float f2 = 0.1F;
float f3 = 0.0F;
this.riddenByEntity.setPosition(this.posX + (double)(f2 * f), this.posY + (double)(this.height * 0.5F) + this.riddenByEntity.getYOffset() + (double)f3, this.posZ - (double)(f2 * f1));
if (this.riddenByEntity instanceof EntityLivingBase)
{
((EntityLivingBase)this.riddenByEntity).renderYawOffset = this.renderYawOffset;
}
}
public boolean func_152116_bZ()
{
return this.field_152118_bv;
}
public void func_152117_i(boolean p_152117_1_)
{
this.field_152118_bv = p_152117_1_;
}
}

View File

@ -0,0 +1,262 @@
package com.jtrent238.youtubers.entity;
import net.minecraft.block.Block;
import net.minecraft.entity.EntityAgeable;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIControlledByPlayer;
import net.minecraft.entity.ai.EntityAIFollowParent;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMate;
import net.minecraft.entity.ai.EntityAIPanic;
import net.minecraft.entity.ai.EntityAISwimming;
import net.minecraft.entity.ai.EntityAITempt;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.monster.EntityPigZombie;
import net.minecraft.entity.passive.EntityAnimal;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.stats.AchievementList;
import net.minecraft.world.World;
public class EntityTerrance extends EntityAnimal
{
/** AI task for player control. */
private final EntityAIControlledByPlayer aiControlledByPlayer;
private static final String __OBFID = "CL_00001647";
public EntityTerrance(World p_i1689_1_)
{
super(p_i1689_1_);
this.setSize(0.9F, 0.9F);
this.getNavigator().setAvoidsWater(true);
this.tasks.addTask(0, new EntityAISwimming(this));
this.tasks.addTask(1, new EntityAIPanic(this, 1.25D));
this.tasks.addTask(2, this.aiControlledByPlayer = new EntityAIControlledByPlayer(this, 0.3F));
this.tasks.addTask(3, new EntityAIMate(this, 1.0D));
this.tasks.addTask(4, new EntityAITempt(this, 1.2D, Items.carrot_on_a_stick, false));
this.tasks.addTask(4, new EntityAITempt(this, 1.2D, Items.carrot, false));
this.tasks.addTask(5, new EntityAIFollowParent(this, 1.1D));
this.tasks.addTask(6, new EntityAIWander(this, 1.0D));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.setSaddled(true);
this.hasCustomNameTag();
this.setCustomNameTag("Terrance");
}
public String getEntityName(){
return "Terrance";
}
/**
* Returns true if the newer Entity AI code should be run
*/
public boolean isAIEnabled()
{
return true;
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(10.0D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
protected void updateAITasks()
{
super.updateAITasks();
}
/**
* returns true if all the conditions for steering the entity are met. For pigs, this is true if it is being ridden
* by a player and the player is holding a carrot-on-a-stick
*/
public boolean canBeSteered()
{
ItemStack itemstack = ((EntityPlayer)this.riddenByEntity).getHeldItem();
return itemstack != null && itemstack.getItem() == Items.carrot_on_a_stick;
}
protected void entityInit()
{
super.entityInit();
this.dataWatcher.addObject(16, Byte.valueOf((byte)0));
}
/**
* (abstract) Protected helper method to write subclass entity data to NBT.
*/
public void writeEntityToNBT(NBTTagCompound p_70014_1_)
{
super.writeEntityToNBT(p_70014_1_);
p_70014_1_.setBoolean("Saddle", this.getSaddled());
}
/**
* (abstract) Protected helper method to read subclass entity data from NBT.
*/
public void readEntityFromNBT(NBTTagCompound p_70037_1_)
{
super.readEntityFromNBT(p_70037_1_);
this.setSaddled(p_70037_1_.getBoolean("Saddle"));
}
/**
* Returns the sound this mob makes while it's alive.
*/
protected String getLivingSound()
{
return "mob.pig.say";
}
/**
* Returns the sound this mob makes when it is hurt.
*/
protected String getHurtSound()
{
return "mob.pig.say";
}
/**
* Returns the sound this mob makes on death.
*/
protected String getDeathSound()
{
return "mob.pig.death";
}
protected void func_145780_a(int p_145780_1_, int p_145780_2_, int p_145780_3_, Block p_145780_4_)
{
this.playSound("mob.pig.step", 0.15F, 1.0F);
}
/**
* Called when a player interacts with a mob. e.g. gets milk from a cow, gets into the saddle on a pig.
*/
public boolean interact(EntityPlayer p_70085_1_)
{
if (super.interact(p_70085_1_))
{
return true;
}
else if (this.getSaddled() && !this.worldObj.isRemote && (this.riddenByEntity == null || this.riddenByEntity == p_70085_1_))
{
p_70085_1_.mountEntity(this);
return true;
}
else
{
return false;
}
}
protected Item getDropItem()
{
return this.isBurning() ? Items.cooked_porkchop : Items.porkchop;
}
/**
* Drop 0-2 items of this living's type. @param par1 - Whether this entity has recently been hit by a player. @param
* par2 - Level of Looting used to kill this mob.
*/
protected void dropFewItems(boolean p_70628_1_, int p_70628_2_)
{
int j = this.rand.nextInt(3) + 1 + this.rand.nextInt(1 + p_70628_2_);
for (int k = 0; k < j; ++k)
{
if (this.isBurning())
{
this.dropItem(Items.cooked_porkchop, 1);
}
else
{
this.dropItem(Items.porkchop, 1);
}
}
if (this.getSaddled())
{
this.dropItem(Items.saddle, 1);
}
}
/**
* Returns true if the pig is saddled.
*/
public boolean getSaddled()
{
return (this.dataWatcher.getWatchableObjectByte(16) & 1) != 0;
}
/**
* Set or remove the saddle of the pig.
*/
public void setSaddled(boolean p_70900_1_)
{
if (p_70900_1_)
{
this.dataWatcher.updateObject(16, Byte.valueOf((byte)1));
}
else
{
this.dataWatcher.updateObject(16, Byte.valueOf((byte)0));
}
}
/**
* Called when a lightning bolt hits the entity.
*/
public void onStruckByLightning(EntityLightningBolt p_70077_1_)
{
if (!this.worldObj.isRemote)
{
EntityPigZombie entitypigzombie = new EntityPigZombie(this.worldObj);
entitypigzombie.setCurrentItemOrArmor(0, new ItemStack(Items.golden_sword));
entitypigzombie.setLocationAndAngles(this.posX, this.posY, this.posZ, this.rotationYaw, this.rotationPitch);
this.worldObj.spawnEntityInWorld(entitypigzombie);
this.setDead();
}
}
/**
* Called when the mob is falling. Calculates and applies fall damage.
*/
protected void fall(float p_70069_1_)
{
super.fall(p_70069_1_);
if (p_70069_1_ > 5.0F && this.riddenByEntity instanceof EntityPlayer)
{
((EntityPlayer)this.riddenByEntity).triggerAchievement(AchievementList.flyPig);
}
}
public EntityTerrance createChild(EntityAgeable p_90011_1_)
{
return new EntityTerrance(this.worldObj);
}
/**
* Checks if the parameter is an item which this animal can be fed to breed it (wheat, carrots or seeds depending on
* the animal type)
*/
public boolean isBreedingItem(ItemStack p_70877_1_)
{
return p_70877_1_ != null && p_70877_1_.getItem() == Items.carrot;
}
/**
* Return the AI task for player control.
*/
public EntityAIControlledByPlayer getAIControlledByPlayer()
{
return this.aiControlledByPlayer;
}
}

View File

@ -0,0 +1,199 @@
package com.jtrent238.youtubers.entity;
import com.jtrent238.youtubers.ItemLoader;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.boss.IBossDisplayData;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.monster.EntityGolem;
import net.minecraft.entity.monster.IMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.EnumChatFormatting;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
public class EntityTrayaurus extends EntityGolem implements IBossDisplayData
{
World world = null;
private int attackTimer;
private DamageSource damageSource;
private EntityPlayer entityAttackedBy;
private ResourceLocation locationCape;
public EntityTrayaurus(World var1)
{
super(var1);
world = var1;
experienceValue = 4;
this.isImmuneToFire = true;
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
this.hasCustomNameTag();
this.setCustomNameTag("Dr. Trayaurus");
addRandomArmor();
//DungeonHooks.addDungeonMob("xJSQ", 180);
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
public boolean attackEntityAsMob(Entity p_70652_1_)
{
this.attackTimer = 10;
this.worldObj.setEntityState(this, (byte)4);
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
if (flag)
{
p_70652_1_.motionY += 0.4000000059604645D;
}
this.playSound("", 1.0F, 1.0F);
return flag;
}
protected void addRandomArmor(){
}
/*
protected void dropRareDrop(int par1){
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
}
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return true;
}
/**
* Drop items of this living's type
*/
protected void dropFewItems(boolean var1, int var2)
{
this.entityDropItem(new ItemStack(ItemLoader.ItemEnchantedDiamond, 1).setStackDisplayName(EnumChatFormatting.DARK_PURPLE.BOLD + "Experimental Diamond"), 1F);
this.entityDropItem(new ItemStack(Blocks.skull, 1, 3), 1F);
}
/**
* Returns the sound this mob makes while it's alive.
*/
protected String getLivingSound()
{
return "mob.villager.idle";
}
/**
* Returns the sound this mob makes when it is hurt.
*/
protected String getHurtSound()
{
return "mob.villager.hit";
}
/**
* Returns the sound this mob makes on death.
*/
protected String getDeathSound()
{
return "mob.villager.death";
}
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
protected void fall(float l){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
super.fall(l);
Entity entity = this;
}
public void onCriticalHit(Entity entity2) {
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public void onKillEntity(EntityLiving entityLiving){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public String getEntityName(){
return "Dr. Trayaurus";
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 4;
}
public boolean func_152122_n()
{
return this.locationCape == new ResourceLocation("youtubers:textures/entity/cloak/MC15.png");
}
public ResourceLocation renderCloak (float par1)
{
return new ResourceLocation("youtubers:textures/entity/cloak/MC15.png");
}
}

View File

@ -0,0 +1,120 @@
package com.jtrent238.youtubers.entity;
import com.google.common.collect.Multimap;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import java.util.Collection;
import java.util.Random;
import net.minecraft.client.renderer.ThreadDownloadImageData;
import net.minecraft.enchantment.Enchantment;
import net.minecraft.enchantment.EnchantmentHelper;
import net.minecraft.entity.DataWatcher;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.IRangedAttackMob;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.attributes.AttributeModifier;
import net.minecraft.entity.ai.attributes.IAttribute;
import net.minecraft.entity.ai.attributes.IAttributeInstance;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.entity.player.InventoryPlayer;
import net.minecraft.entity.player.PlayerCapabilities;
import net.minecraft.entity.projectile.EntityArrow;
import net.minecraft.init.Items;
import net.minecraft.item.EnumAction;
import net.minecraft.item.Item;
import net.minecraft.item.ItemFood;
import net.minecraft.item.ItemStack;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.DamageSource;
import net.minecraft.util.MathHelper;
import net.minecraft.util.ResourceLocation;
import net.minecraft.village.MerchantRecipeList;
import net.minecraft.world.EnumDifficulty;
import net.minecraft.world.World;
public class PlayerEntity
extends EntityPlayerBase
{
public boolean RenderFailed = false;
public static final ResourceLocation locationStevePng = new ResourceLocation("textures/entity/steve.png");
private ResourceLocation locationSkin = locationStevePng;
private ThreadDownloadImageData downloadImageSkin;
public PlayerEntity(World par1World)
{
this(par1World, -1);
}
public PlayerEntity(World par1World, int par2)
{
this(par1World, par2 < 0 ? com.jtrent238.youtubers.YTConfig.PlayerNames[new Random().nextInt(com.jtrent238.youtubers.YTConfig.PlayerNames.length)] : com.jtrent238.youtubers.YTConfig.PlayerNames[par2]);
}
public PlayerEntity(World par1World, String name)
{
super(par1World);
setName(name);
//func_70105_a(0.6F, 1.8F);
}
public String getName()
{
return this.getEntityName().substring(19);
}
public void setName(String par1Str)
{
this.setName(par1Str);
}
@SideOnly(Side.CLIENT)
public boolean func_94059_bO()
{
return true;
}
protected void func_70088_a()
{
// super.func_70088_a();
// this.field_70180_af.func_75682_a(19, "");
}
public void func_70014_b(NBTTagCompound par1NBTTagCompound)
{
super.writeEntityToNBT(par1NBTTagCompound);
par1NBTTagCompound.setString("Name", getName());
}
public void func_70037_a(NBTTagCompound par1NBTTagCompound)
{
super.readEntityFromNBT(par1NBTTagCompound);
setName(par1NBTTagCompound.getString("Name"));
}
protected String func_70621_aR()
{
return "mob.villager.hit";
}
protected String func_70673_aS()
{
return "mob.villager.death";
}
@SideOnly(Side.CLIENT)
public void setRecipes(MerchantRecipeList par1MerchantRecipeList) {}
public int getGrowingAge()
{
return 0;
}
}

View File

@ -0,0 +1,200 @@
package com.jtrent238.youtubers.entity.player;
import java.util.Random;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLServerStartingEvent;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.boss.BossStatus;
import net.minecraft.entity.boss.IBossDisplayData;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.monster.EntityGolem;
import net.minecraft.entity.monster.IMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraftforge.common.DungeonHooks;
public class EntityAlexIsCool extends EntityGolem implements IBossDisplayData
{
World world = null;
private int attackTimer;
private DamageSource damageSource;
private EntityPlayer entityAttackedBy;
public EntityAlexIsCool(World var1)
{
super(var1);
world = var1;
experienceValue = 10;
this.isImmuneToFire = true;
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
this.hasCustomNameTag();
this.setCustomNameTag("AlexIsCool");
addRandomArmor();
//DungeonHooks.addDungeonMob("xJSQ", 180);
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
public boolean attackEntityAsMob(Entity p_70652_1_)
{
this.attackTimer = 10;
this.worldObj.setEntityState(this, (byte)4);
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
if (flag)
{
p_70652_1_.motionY += 0.4000000059604645D;
}
this.playSound("", 1.0F, 1.0F);
return flag;
}
protected void addRandomArmor(){
}
/*
protected void dropRareDrop(int par1){
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
}
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return true;
}
/**
* Drop items of this living's type
*/
protected void dropFewItems(boolean var1, int var2)
{
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
}
/**
* Returns the sound this mob makes while it's alive.
*/
/*
protected String getLivingSound()
{
return "";
}
*/
/**
* Returns the sound this mob makes when it is hurt.
*/
/*
protected String getHurtSound()
{
return "";
}
*/
/**
* Returns the sound this mob makes on death.
*/
/*
protected String getDeathSound()
{
return "";
}
*/
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
protected void fall(float l){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
super.fall(l);
Entity entity = this;
}
public void onCriticalHit(Entity entity2) {
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public void onKillEntity(EntityLiving entityLiving){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public String getEntityName(){
return "AlexIsCool";
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 4;
}
}

View File

@ -0,0 +1,200 @@
package com.jtrent238.youtubers.entity.player;
import java.util.Random;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLServerStartingEvent;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.boss.BossStatus;
import net.minecraft.entity.boss.IBossDisplayData;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.monster.EntityGolem;
import net.minecraft.entity.monster.IMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraftforge.common.DungeonHooks;
public class EntityCowMan extends EntityGolem implements IBossDisplayData
{
World world = null;
private int attackTimer;
private DamageSource damageSource;
private EntityPlayer entityAttackedBy;
public EntityCowMan(World var1)
{
super(var1);
world = var1;
experienceValue = 10;
this.isImmuneToFire = true;
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
this.hasCustomNameTag();
this.setCustomNameTag("CowMan");
addRandomArmor();
//DungeonHooks.addDungeonMob("xJSQ", 180);
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
public boolean attackEntityAsMob(Entity p_70652_1_)
{
this.attackTimer = 10;
this.worldObj.setEntityState(this, (byte)4);
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
if (flag)
{
p_70652_1_.motionY += 0.4000000059604645D;
}
this.playSound("", 1.0F, 1.0F);
return flag;
}
protected void addRandomArmor(){
}
/*
protected void dropRareDrop(int par1){
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
}
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return true;
}
/**
* Drop items of this living's type
*/
protected void dropFewItems(boolean var1, int var2)
{
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
}
/**
* Returns the sound this mob makes while it's alive.
*/
/*
protected String getLivingSound()
{
return "";
}
*/
/**
* Returns the sound this mob makes when it is hurt.
*/
/*
protected String getHurtSound()
{
return "";
}
*/
/**
* Returns the sound this mob makes on death.
*/
/*
protected String getDeathSound()
{
return "";
}
*/
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
protected void fall(float l){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
super.fall(l);
Entity entity = this;
}
public void onCriticalHit(Entity entity2) {
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public void onKillEntity(EntityLiving entityLiving){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public String getEntityName(){
return "CowMan";
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 4;
}
}

View File

@ -0,0 +1,200 @@
package com.jtrent238.youtubers.entity.player;
import java.util.Random;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLServerStartingEvent;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.boss.BossStatus;
import net.minecraft.entity.boss.IBossDisplayData;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.monster.EntityGolem;
import net.minecraft.entity.monster.IMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraftforge.common.DungeonHooks;
public class EntityFar extends EntityGolem implements IBossDisplayData
{
World world = null;
private int attackTimer;
private DamageSource damageSource;
private EntityPlayer entityAttackedBy;
public EntityFar(World var1)
{
super(var1);
world = var1;
experienceValue = 10;
this.isImmuneToFire = true;
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
this.hasCustomNameTag();
this.setCustomNameTag("Far");
addRandomArmor();
//DungeonHooks.addDungeonMob("xJSQ", 180);
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
public boolean attackEntityAsMob(Entity p_70652_1_)
{
this.attackTimer = 10;
this.worldObj.setEntityState(this, (byte)4);
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
if (flag)
{
p_70652_1_.motionY += 0.4000000059604645D;
}
this.playSound("", 1.0F, 1.0F);
return flag;
}
protected void addRandomArmor(){
}
/*
protected void dropRareDrop(int par1){
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
}
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return true;
}
/**
* Drop items of this living's type
*/
protected void dropFewItems(boolean var1, int var2)
{
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
}
/**
* Returns the sound this mob makes while it's alive.
*/
/*
protected String getLivingSound()
{
return "";
}
*/
/**
* Returns the sound this mob makes when it is hurt.
*/
/*
protected String getHurtSound()
{
return "";
}
*/
/**
* Returns the sound this mob makes on death.
*/
/*
protected String getDeathSound()
{
return "";
}
*/
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
protected void fall(float l){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
super.fall(l);
Entity entity = this;
}
public void onCriticalHit(Entity entity2) {
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public void onKillEntity(EntityLiving entityLiving){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public String getEntityName(){
return "Far";
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 4;
}
}

View File

@ -0,0 +1,223 @@
package com.jtrent238.youtubers.entity.player;
import java.util.ArrayList;
import java.util.Random;
import com.jtrent238.youtubers.PlayerList;
import com.jtrent238.youtubers.YTConfig;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLServerStartingEvent;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.Minecraft;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.boss.BossStatus;
import net.minecraft.entity.boss.IBossDisplayData;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.monster.EntityGolem;
import net.minecraft.entity.monster.IMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraftforge.common.DungeonHooks;
public class EntityRandomPlayer extends EntityGolem implements IBossDisplayData
{
int numPlayers = 1;
World world = null;
private int attackTimer;
private DamageSource damageSource;
private EntityPlayer entityAttackedBy;
private int index = 0;
public EntityRandomPlayer(World var1)
{
super(var1);
world = var1;
experienceValue = 10;
this.isImmuneToFire = true;
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
// int numPlayers = PlayerList.numPlayers;
// for (int i = 0; i < numPlayers ; i++) {
// this.setCustomNameTag(PlayerList.players.get(i));
//}
this.setCustomNameTag(PlayerList.getRandomPlayerName());
this.hasCustomNameTag();
addRandomArmor();
}
private void getRandomPlayerName() {
// TODO Auto-generated method stub
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
public boolean attackEntityAsMob(Entity p_70652_1_)
{
this.attackTimer = 10;
this.worldObj.setEntityState(this, (byte)4);
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
if (flag)
{
p_70652_1_.motionY += 0.4000000059604645D;
}
this.playSound("", 1.0F, 1.0F);
return flag;
}
protected void addRandomArmor(){
}
/*
protected void dropRareDrop(int par1){
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
}
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return true;
}
/**
* Drop items of this living's type
*/
protected void dropFewItems(boolean var1, int var2)
{
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
}
/**
* Returns the sound this mob makes while it's alive.
*/
protected String getLivingSound()
{
return "youtubers:" + null + "_living";
}
/**
* Returns the sound this mob makes when it is hurt.
*/
protected String getHurtSound()
{
return "youtubers:" + null + "_hurt";
}
/**
* Returns the sound this mob makes on death.
*/
protected String getDeathSound()
{
return "youtubers:" + null + "_death";
}
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
protected void fall(float l){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
super.fall(l);
Entity entity = this;
}
public void onCriticalHit(Entity entity2) {
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public void onKillEntity(EntityLiving entityLiving){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public String getEntityName(){
return PlayerList.getRandomPlayerName();
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 4;
}
}

View File

@ -0,0 +1,200 @@
package com.jtrent238.youtubers.entity.player;
import java.util.Random;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLServerStartingEvent;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.boss.BossStatus;
import net.minecraft.entity.boss.IBossDisplayData;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.monster.EntityGolem;
import net.minecraft.entity.monster.IMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraftforge.common.DungeonHooks;
public class EntitymegablasterT extends EntityGolem implements IBossDisplayData
{
World world = null;
private int attackTimer;
private DamageSource damageSource;
private EntityPlayer entityAttackedBy;
public EntitymegablasterT(World var1)
{
super(var1);
world = var1;
experienceValue = 10;
this.isImmuneToFire = true;
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
this.hasCustomNameTag();
this.setCustomNameTag("megablasterT");
addRandomArmor();
//DungeonHooks.addDungeonMob("xJSQ", 180);
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
public boolean attackEntityAsMob(Entity p_70652_1_)
{
this.attackTimer = 10;
this.worldObj.setEntityState(this, (byte)4);
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
if (flag)
{
p_70652_1_.motionY += 0.4000000059604645D;
}
this.playSound("", 1.0F, 1.0F);
return flag;
}
protected void addRandomArmor(){
}
/*
protected void dropRareDrop(int par1){
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
}
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return true;
}
/**
* Drop items of this living's type
*/
protected void dropFewItems(boolean var1, int var2)
{
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
}
/**
* Returns the sound this mob makes while it's alive.
*/
/*
protected String getLivingSound()
{
return "";
}
*/
/**
* Returns the sound this mob makes when it is hurt.
*/
/*
protected String getHurtSound()
{
return "";
}
*/
/**
* Returns the sound this mob makes on death.
*/
/*
protected String getDeathSound()
{
return "";
}
*/
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
protected void fall(float l){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
super.fall(l);
Entity entity = this;
}
public void onCriticalHit(Entity entity2) {
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public void onKillEntity(EntityLiving entityLiving){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public String getEntityName(){
return "megablasterT";
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 4;
}
}

View File

@ -116,12 +116,19 @@ protected void addRandomArmor(){
return true;
}
/**
* Drop items of this living's type
*/
protected void dropFewItems(boolean var1, int var2)
{
this.entityDropItem(new ItemStack(BlockLoader.BlockGlitch, 1), 4F);
Random rn = new Random();
int max = 6;
int min = 1;
int result = rn.nextInt(max - min + 1) + min;
System.out.println(result);
this.entityDropItem(new ItemStack(BlockLoader.BlockGlitch, result), 1F);
}
/**

View File

@ -0,0 +1,211 @@
package com.jtrent238.youtubers.entity.youtuber;
import java.util.Random;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.boss.IBossDisplayData;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.monster.EntityGolem;
import net.minecraft.entity.monster.IMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
public class EntityBajanCanadian extends EntityGolem implements IBossDisplayData
{
World world = null;
private int attackTimer;
private DamageSource damageSource;
private EntityPlayer entityAttackedBy;
private ResourceLocation locationCape;
public EntityBajanCanadian(World var1)
{
super(var1);
world = var1;
experienceValue = 4;
this.isImmuneToFire = true;
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
this.hasCustomNameTag();
this.setCustomNameTag("BajanCanadian");
addRandomArmor();
//DungeonHooks.addDungeonMob("xJSQ", 180);
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
public boolean attackEntityAsMob(Entity p_70652_1_)
{
this.attackTimer = 10;
this.worldObj.setEntityState(this, (byte)4);
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
if (flag)
{
p_70652_1_.motionY += 0.4000000059604645D;
}
this.playSound("", 1.0F, 1.0F);
return flag;
}
protected void addRandomArmor(){
}
/*
protected void dropRareDrop(int par1){
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
}
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return true;
}
/**
* Drop items of this living's type
*/
protected void dropFewItems(boolean var1, int var2)
{
Random rn0 = new Random();
int max0 = 32;
int min0 = 1;
int result0 = rn0.nextInt(max0 - min0 + 1) + min0;
System.out.println(result0);
Random rn1 = new Random();
int max1 = 1;
int min1 = 0;
int result1 = rn1.nextInt(max1 - min1 + 1) + min1;
System.out.println(result1);
this.entityDropItem(new ItemStack(Items.dye, result0, result1), 1F);
}
/**
* Returns the sound this mob makes while it's alive.
*/
protected String getLivingSound()
{
return this != null ? "youtubers:BajanCanadian_living" : "youtubers:BajanCanadian_living_1";
}
/**
* Returns the sound this mob makes when it is hurt.
*/
protected String getHurtSound()
{
return "youtubers:BajanCanadian_hurt";
}
/**
* Returns the sound this mob makes on death.
*/
protected String getDeathSound()
{
return "youtubers:BajanCanadian_death";
}
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
protected void fall(float l){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
super.fall(l);
Entity entity = this;
}
public void onCriticalHit(Entity entity2) {
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public void onKillEntity(EntityLiving entityLiving){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public String getEntityName(){
return "BajanCanadian";
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 4;
}
/*
public boolean func_152122_n()
{
return this.locationCape == new ResourceLocation("youtubers:textures/entity/cloak/MC15.png");
}
public ResourceLocation renderCloak (float par1)
{
return new ResourceLocation("youtubers:textures/entity/cloak/MC15.png");
}
*/
}

View File

@ -1,5 +1,16 @@
package com.jtrent238.youtubers.entity.youtuber;
import java.util.Map;
import com.jtrent238.youtubers.client.ClientProxy;
import com.mojang.authlib.minecraft.MinecraftProfileTexture;
import cpw.mods.fml.common.eventhandler.Event;
import cpw.mods.fml.common.eventhandler.SubscribeEvent;
import cpw.mods.fml.relauncher.ReflectionHelper;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.model.ModelRenderer;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.SharedMonsterAttributes;
@ -23,6 +34,7 @@ import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import net.minecraftforge.client.event.RenderPlayerEvent;
public class EntityDanTDM extends EntityGolem implements IBossDisplayData
{
@ -31,6 +43,8 @@ public class EntityDanTDM extends EntityGolem implements IBossDisplayData
private DamageSource damageSource;
private EntityPlayer entityAttackedBy;
private ResourceLocation locationCape;
private ModelRenderer bipedCloak;
public boolean renderCape = true;
public EntityDanTDM(World var1)
{
super(var1);
@ -46,14 +60,49 @@ public class EntityDanTDM extends EntityGolem implements IBossDisplayData
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
this.shouldRenderCape();
this.hasCustomNameTag();
this.setCustomNameTag("DanTDM");
//this.renderCloak(10);
this.renderCloak(new ResourceLocation("youtubers:textures/entity/cloak/MC15.png"));
addRandomArmor();
//DungeonHooks.addDungeonMob("xJSQ", 180);
}
@SubscribeEvent
@SideOnly(Side.CLIENT)
public void playerSpecialsRendering(RenderPlayerEvent.Specials.Pre event) {
float rotationY = event.renderer.modelBipedMain.bipedBody.rotateAngleY;
float rotationX = event.renderer.modelBipedMain.bipedBody.rotateAngleX;
float rotationZ = event.renderer.modelBipedMain.bipedBody.rotateAngleZ;
double x = event.entity.posX;
double y = event.entity.posY;
double z = event.entity.posZ;
float pitch = event.entity.rotationPitch;
float yaw = event.entity.rotationYaw;
//ClientProxy.rendererWearableEquipped.render(event.entity, x, y, z, rotationX, rotationY, rotationZ, pitch, yaw);
event.renderCape = true;
}
private boolean shouldRenderCape() {
return true;
}
@SubscribeEvent
public static void onRenderPlayer(RenderPlayerEvent.Post event)
{
//EntityDanTDM player = null;RenderPlayer
Class<? super Object> cape0 = null;
Object cape1;
//NetworkPlayerInfo info = ReflectionHelper.getPrivateValue(AbstractClientPlayer.class, clplayer, ObfuscatedNames.PLAYER_INFO);
Map<MinecraftProfileTexture.Type, ResourceLocation> textures = ReflectionHelper.getPrivateValue(cape0, EntityDanTDM.class, "youtubers:textures/entity/cloak/MC15.png");
ResourceLocation loc = new ResourceLocation("proxyslib", "textures/whoknows/special_cape.png");
textures.put(MinecraftProfileTexture.Type.CAPE, loc);
//textures.put(MinecraftProfileTexture.Type.ELYTRA, loc);
//done.add(player);
}
protected void applyEntityAttributes()
{
@ -114,30 +163,30 @@ protected void addRandomArmor(){
/**
* Returns the sound this mob makes while it's alive.
*/
/*
protected String getLivingSound()
{
return "";
return "youtubers:DanTDM_living";
}
*/
/**
* Returns the sound this mob makes when it is hurt.
*/
/*
protected String getHurtSound()
{
return "";
return "youtubers:DanTDM_hurt";
}
*/
/**
* Returns the sound this mob makes on death.
*/
/*
protected String getDeathSound()
{
return "";
return "youtubers:DanTDM_death";
}
*/
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
int i = (int)this.posX;
int j = (int)this.posY;
@ -189,10 +238,18 @@ public boolean func_152122_n()
return this.locationCape == new ResourceLocation("youtubers:textures/entity/cloak/MC15.png");
}
public ResourceLocation renderCloak (float par1)
public ResourceLocation renderCloak (ResourceLocation resourceLocation)
{
return new ResourceLocation("youtubers:textures/entity/cloak/MC15.png");
}
/**
* Renders the cloak of the current biped (in most cases, it's a player)
*/
public void renderCloak(float p_78111_1_)
{
this.bipedCloak.render(p_78111_1_);
this.locationCape = new ResourceLocation("youtubers:textures/entity/cloak/MC15.png");
}
}

View File

@ -0,0 +1,202 @@
package com.jtrent238.youtubers.entity.youtuber;
import java.util.Random;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLServerStartingEvent;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.boss.BossStatus;
import net.minecraft.entity.boss.IBossDisplayData;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.monster.EntityGolem;
import net.minecraft.entity.monster.IMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraftforge.common.DungeonHooks;
//Replace DerpSSundee with name
public class EntityDerpSSundee extends EntityGolem implements IBossDisplayData
{
World world = null;
private int attackTimer;
private DamageSource damageSource;
private EntityPlayer entityAttackedBy;
public EntityDerpSSundee(World var1)
{
super(var1);
world = var1;
experienceValue = 4;
this.isImmuneToFire = true;
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
this.hasCustomNameTag();
this.setCustomNameTag("SSundee");
addRandomArmor();
//DungeonHooks.addDungeonMob("DerpSSundee", 180);
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
public boolean attackEntityAsMob(Entity p_70652_1_)
{
this.attackTimer = 10;
this.worldObj.setEntityState(this, (byte)4);
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
if (flag)
{
p_70652_1_.motionY += 0.4000000059604645D;
}
this.playSound("", 1.0F, 1.0F);
return flag;
}
protected void addRandomArmor(){
}
/*
protected void dropRareDrop(int par1){
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
}
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return true;
}
/**
* Drop items of this living's type
*/
protected void dropFewItems(boolean var1, int var2)
{
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
}
/**
* Returns the sound this mob makes while it's alive.
*/
/*
protected String getLivingSound()
{
return "";
}
*/
/**
* Returns the sound this mob makes when it is hurt.
*/
/*
protected String getHurtSound()
{
return "";
}
*/
/**
* Returns the sound this mob makes on death.
*/
/*
protected String getDeathSound()
{
return "";
}
*/
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
protected void fall(float l){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
super.fall(l);
Entity entity = this;
}
public void onCriticalHit(Entity entity2) {
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public void onKillEntity(EntityLiving entityLiving){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public String getEntityName(){
return "DerpSSundee";
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 4;
}
}

View File

@ -0,0 +1,205 @@
package com.jtrent238.youtubers.entity.youtuber;
import java.util.Random;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.boss.IBossDisplayData;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.monster.EntityGolem;
import net.minecraft.entity.monster.IMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
public class EntityEckoSoldier extends EntityGolem implements IBossDisplayData
{
World world = null;
private int attackTimer;
private DamageSource damageSource;
private EntityPlayer entityAttackedBy;
private ResourceLocation locationCape;
public EntityEckoSoldier(World var1)
{
super(var1);
world = var1;
experienceValue = 4;
this.isImmuneToFire = true;
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
this.hasCustomNameTag();
this.setCustomNameTag("EckoSoldier");
addRandomArmor();
//DungeonHooks.addDungeonMob("xJSQ", 180);
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
public boolean attackEntityAsMob(Entity p_70652_1_)
{
this.attackTimer = 10;
this.worldObj.setEntityState(this, (byte)4);
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
if (flag)
{
p_70652_1_.motionY += 0.4000000059604645D;
}
this.playSound("", 1.0F, 1.0F);
return flag;
}
protected void addRandomArmor(){
}
/*
protected void dropRareDrop(int par1){
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
}
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return true;
}
/**
* Drop items of this living's type
*/
protected void dropFewItems(boolean var1, int var2)
{
Random rn = new Random();
int max = 32;
int min = 1;
int result = rn.nextInt(max - min + 1) + min;
System.out.println(result);
this.entityDropItem(new ItemStack(Items.dye, result, 2), 1F);
}
/**
* Returns the sound this mob makes while it's alive.
*/
protected String getLivingSound()
{
return this != null ? "youtubers:EckoSoldier_living" : "youtubers:EckoSoldier_living_1";
}
/**
* Returns the sound this mob makes when it is hurt.
*/
protected String getHurtSound()
{
return "youtubers:EckoSoldier_hurt";
}
/**
* Returns the sound this mob makes on death.
*/
protected String getDeathSound()
{
return "youtubers:EckoSoldier_death";
}
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
protected void fall(float l){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
super.fall(l);
Entity entity = this;
}
public void onCriticalHit(Entity entity2) {
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public void onKillEntity(EntityLiving entityLiving){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public String getEntityName(){
return "EckoSoldier";
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 4;
}
/*
public boolean func_152122_n()
{
return this.locationCape == new ResourceLocation("youtubers:textures/entity/cloak/MC15.png");
}
public ResourceLocation renderCloak (float par1)
{
return new ResourceLocation("youtubers:textures/entity/cloak/MC15.png");
}
*/
}

View File

@ -1,5 +1,7 @@
package com.jtrent238.youtubers.entity.youtuber;
import java.util.Random;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.SharedMonsterAttributes;
@ -107,7 +109,13 @@ protected void addRandomArmor(){
*/
protected void dropFewItems(boolean var1, int var2)
{
this.entityDropItem(new ItemStack(Items.golden_apple, 32, 1), 1F);
Random rn = new Random();
int max = 32;
int min = 1;
int result = rn.nextInt(max - min + 1) + min;
System.out.println(result);
this.entityDropItem(new ItemStack(Items.golden_apple, result, 1), 1F);
}
/**

View File

@ -0,0 +1,202 @@
package com.jtrent238.youtubers.entity.youtuber;
import java.util.Random;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLServerStartingEvent;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.boss.BossStatus;
import net.minecraft.entity.boss.IBossDisplayData;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.monster.EntityGolem;
import net.minecraft.entity.monster.IMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraftforge.common.DungeonHooks;
//Replace SSundee with name
public class EntityMagna_Invictus extends EntityGolem implements IBossDisplayData
{
World world = null;
private int attackTimer;
private DamageSource damageSource;
private EntityPlayer entityAttackedBy;
public EntityMagna_Invictus(World var1)
{
super(var1);
world = var1;
experienceValue = 4;
this.isImmuneToFire = true;
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
this.hasCustomNameTag();
this.setCustomNameTag("Magna_Invictus");
addRandomArmor();
//DungeonHooks.addDungeonMob("SSundee", 180);
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
public boolean attackEntityAsMob(Entity p_70652_1_)
{
this.attackTimer = 10;
this.worldObj.setEntityState(this, (byte)4);
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
if (flag)
{
p_70652_1_.motionY += 0.4000000059604645D;
}
this.playSound("", 1.0F, 1.0F);
return flag;
}
protected void addRandomArmor(){
}
/*
protected void dropRareDrop(int par1){
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
}
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return true;
}
/**
* Drop items of this living's type
*/
protected void dropFewItems(boolean var1, int var2)
{
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
}
/**
* Returns the sound this mob makes while it's alive.
*/
/*
protected String getLivingSound()
{
return "";
}
*/
/**
* Returns the sound this mob makes when it is hurt.
*/
/*
protected String getHurtSound()
{
return "";
}
*/
/**
* Returns the sound this mob makes on death.
*/
/*
protected String getDeathSound()
{
return "";
}
*/
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
protected void fall(float l){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
super.fall(l);
Entity entity = this;
}
public void onCriticalHit(Entity entity2) {
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public void onKillEntity(EntityLiving entityLiving){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public String getEntityName(){
return "Magna_Invictus";
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 4;
}
}

View File

@ -0,0 +1,203 @@
package com.jtrent238.youtubers.entity.youtuber;
import java.util.Random;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLServerStartingEvent;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.boss.BossStatus;
import net.minecraft.entity.boss.IBossDisplayData;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.monster.EntityGolem;
import net.minecraft.entity.monster.IMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraftforge.common.DungeonHooks;
//Replace SSundee with name
public class EntityRealThinknoodles extends EntityGolem implements IBossDisplayData
{
World world = null;
private int attackTimer;
private DamageSource damageSource;
private EntityPlayer entityAttackedBy;
private String name = "RealThinknoodles";
public EntityRealThinknoodles(World var1)
{
super(var1);
world = var1;
experienceValue = 4;
this.isImmuneToFire = true;
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
this.hasCustomNameTag();
this.setCustomNameTag(name);
addRandomArmor();
//DungeonHooks.addDungeonMob("SSundee", 180);
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
public boolean attackEntityAsMob(Entity p_70652_1_)
{
this.attackTimer = 10;
this.worldObj.setEntityState(this, (byte)4);
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
if (flag)
{
p_70652_1_.motionY += 0.4000000059604645D;
}
this.playSound("", 1.0F, 1.0F);
return flag;
}
protected void addRandomArmor(){
}
/*
protected void dropRareDrop(int par1){
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
}
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return true;
}
/**
* Drop items of this living's type
*/
protected void dropFewItems(boolean var1, int var2)
{
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
}
/**
* Returns the sound this mob makes while it's alive.
*/
protected String getLivingSound()
{
return "youtubers:RealThinknoodles_living";
}
/**
* Returns the sound this mob makes when it is hurt.
*/
protected String getHurtSound()
{
return "youtubers:RealThinknoodles_hurt";
}
/**
* Returns the sound this mob makes on death.
*/
protected String getDeathSound()
{
return "youtubers:RealThinknoodles_death";
}
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
protected void fall(float l){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
super.fall(l);
Entity entity = this;
}
public void onCriticalHit(Entity entity2) {
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public void onKillEntity(EntityLiving entityLiving){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public String getEntityName(){
return name;
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 4;
}
}

View File

@ -0,0 +1,202 @@
package com.jtrent238.youtubers.entity.youtuber;
import java.util.Random;
import cpw.mods.fml.client.registry.RenderingRegistry;
import cpw.mods.fml.common.event.FMLPreInitializationEvent;
import cpw.mods.fml.common.event.FMLServerStartingEvent;
import cpw.mods.fml.common.registry.EntityRegistry;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.client.model.ModelBiped;
import net.minecraft.client.renderer.entity.RenderLiving;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EnumCreatureType;
import net.minecraft.entity.SharedMonsterAttributes;
import net.minecraft.entity.ai.EntityAIAttackOnCollide;
import net.minecraft.entity.ai.EntityAIHurtByTarget;
import net.minecraft.entity.ai.EntityAILookIdle;
import net.minecraft.entity.ai.EntityAIMoveThroughVillage;
import net.minecraft.entity.ai.EntityAIMoveTowardsRestriction;
import net.minecraft.entity.ai.EntityAIMoveTowardsTarget;
import net.minecraft.entity.ai.EntityAINearestAttackableTarget;
import net.minecraft.entity.ai.EntityAIWander;
import net.minecraft.entity.ai.EntityAIWatchClosest;
import net.minecraft.entity.boss.BossStatus;
import net.minecraft.entity.boss.IBossDisplayData;
import net.minecraft.entity.effect.EntityLightningBolt;
import net.minecraft.entity.monster.EntityGolem;
import net.minecraft.entity.monster.IMob;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.init.Items;
import net.minecraft.item.ItemStack;
import net.minecraft.util.DamageSource;
import net.minecraft.util.ResourceLocation;
import net.minecraft.world.World;
import net.minecraft.world.biome.BiomeGenBase;
import net.minecraftforge.common.DungeonHooks;
//Replace SSundee with name
public class EntitySSundee extends EntityGolem implements IBossDisplayData
{
World world = null;
private int attackTimer;
private DamageSource damageSource;
private EntityPlayer entityAttackedBy;
public EntitySSundee(World var1)
{
super(var1);
world = var1;
experienceValue = 4;
this.isImmuneToFire = true;
this.tasks.addTask(1, new EntityAIAttackOnCollide(this, 1.0D, true));
this.tasks.addTask(2, new EntityAIMoveTowardsTarget(this, 0.9D, 32.0F));
this.tasks.addTask(3, new EntityAIMoveThroughVillage(this, 0.6D, true));
this.tasks.addTask(4, new EntityAIMoveTowardsRestriction(this, 1.0D));
this.tasks.addTask(6, new EntityAIWander(this, 0.6D));
this.tasks.addTask(7, new EntityAIWatchClosest(this, EntityPlayer.class, 6.0F));
this.tasks.addTask(8, new EntityAILookIdle(this));
this.targetTasks.addTask(2, new EntityAIHurtByTarget(this, false));
this.targetTasks.addTask(3, new EntityAINearestAttackableTarget(this, EntityLiving.class, 0, false, true, IMob.mobSelector));
this.hasCustomNameTag();
this.setCustomNameTag("SSundee");
addRandomArmor();
//DungeonHooks.addDungeonMob("SSundee", 180);
}
protected void applyEntityAttributes()
{
super.applyEntityAttributes();
this.getEntityAttribute(SharedMonsterAttributes.maxHealth).setBaseValue(50D);
this.getEntityAttribute(SharedMonsterAttributes.movementSpeed).setBaseValue(0.25D);
}
public boolean attackEntityAsMob(Entity p_70652_1_)
{
this.attackTimer = 10;
this.worldObj.setEntityState(this, (byte)4);
boolean flag = p_70652_1_.attackEntityFrom(DamageSource.causeMobDamage(this), (float)(7 + this.rand.nextInt(15)));
if (flag)
{
p_70652_1_.motionY += 0.4000000059604645D;
}
this.playSound("", 1.0F, 1.0F);
return flag;
}
protected void addRandomArmor(){
}
/*
protected void dropRareDrop(int par1){
this.dropItem(ItemLoader.itemCaptainCookieCookie, 1);
}
*/
public boolean isAIEnabled()
{
return true;
}
/**
* Determines if an entity can be despawned, used on idle far away entities
*/
protected boolean canDespawn()
{
return true;
}
/**
* Drop items of this living's type
*/
protected void dropFewItems(boolean var1, int var2)
{
//this.entityDropItem(new ItemStack(BlockLoader.blockFlowerLove, 1), 4F);
}
/**
* Returns the sound this mob makes while it's alive.
*/
/*
protected String getLivingSound()
{
return "";
}
*/
/**
* Returns the sound this mob makes when it is hurt.
*/
/*
protected String getHurtSound()
{
return "";
}
*/
/**
* Returns the sound this mob makes on death.
*/
/*
protected String getDeathSound()
{
return "";
}
*/
public void onStruckByLightning(EntityLightningBolt entityLightningBolt){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
protected void fall(float l){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
super.fall(l);
Entity entity = this;
}
public void onCriticalHit(Entity entity2) {
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public void onKillEntity(EntityLiving entityLiving){
int i = (int)this.posX;
int j = (int)this.posY;
int k = (int)this.posZ;
Entity entity = this;
}
public String getEntityName(){
return "SSundee";
}
/**
* Will return how many at most can spawn in a chunk at once.
*/
public int getMaxSpawnedInChunk()
{
return 4;
}
}

View File

@ -1,5 +1,7 @@
package com.jtrent238.youtubers.entity.youtuber;
import com.jtrent238.youtubers.BlockLoader;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.SharedMonsterAttributes;
@ -111,6 +113,9 @@ protected void addRandomArmor(){
this.entityDropItem(new ItemStack(Items.repeater, 1), 1F);
this.entityDropItem(new ItemStack(Items.comparator, 1), 1F);
this.entityDropItem(new ItemStack(Blocks.redstone_block, 2), 1F);
this.entityDropItem(new ItemStack(BlockLoader.BlockDecoCommandBlock_Chain, 2), 1F);
this.entityDropItem(new ItemStack(BlockLoader.BlockDecoCommandBlock_Impulse, 2), 1F);
this.entityDropItem(new ItemStack(BlockLoader.BlockDecoCommandBlock_Repeat, 2), 1F);
}
/**

View File

@ -0,0 +1,107 @@
package com.jtrent238.youtubers.items;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.minecraft.block.BlockJukebox;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemRecord;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
public class ItemDanTDM_CD_1 extends ItemRecord
{
private static final Map records = new HashMap();
public final String recordName;
public ItemDanTDM_CD_1(String recordName)
{
super(recordName);
this.recordName = recordName;
this.maxStackSize = 1;
records.put(recordName, this);
}
@Override
public void registerIcons(IIconRegister iconRegister)
{
itemIcon = iconRegister.registerIcon("youtubers:" + "record_" + recordName);
}
@Override
public boolean onItemUse(ItemStack itemStack, EntityPlayer player, World world, int x, int y, int z, int par7, float par8, float par9, float par10)
{
//TODO: world.getBlock()
if (world.getBlock(x, y, z) == Blocks.jukebox && world.getBlockMetadata(x, y, z) == 0)
{
if (world.isRemote)
return true;
else
{
//TODO: .insertRecord()
((BlockJukebox)Blocks.jukebox).func_149926_b(world, x, y, z, itemStack);
//TODO: Item.getIdFromItem()
world.playAuxSFXAtEntity((EntityPlayer)null, 1005, x, y, z, Item.getIdFromItem(this));
--itemStack.stackSize;
return true;
}
}
else
return false;
}
@Override
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
{
par3List.add(this.getRecordNameLocal());
}
@Override
//TODO: getRecordTitle()
public String getRecordNameLocal()
{
return StatCollector.translateToLocal(this.getUnlocalizedName() + ".desc");
}
@Override
public EnumRarity getRarity(ItemStack itemStack)
{
return EnumRarity.rare;
}
public static ItemDanTDM_CD_1 getRecord(String par0Str)
{
return (ItemDanTDM_CD_1)records.get(par0Str);
}
@Override
public ResourceLocation getRecordResource(String name)
{
return new ResourceLocation("youtubers:" + name);
}
}

View File

@ -0,0 +1,107 @@
package com.jtrent238.youtubers.items;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.minecraft.block.BlockJukebox;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemRecord;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
public class ItemDanTDM_CD_2 extends ItemRecord
{
private static final Map records = new HashMap();
public final String recordName;
public ItemDanTDM_CD_2(String recordName)
{
super(recordName);
this.recordName = recordName;
this.maxStackSize = 1;
records.put(recordName, this);
}
@Override
public void registerIcons(IIconRegister iconRegister)
{
itemIcon = iconRegister.registerIcon("youtubers:" + "record_" + recordName);
}
@Override
public boolean onItemUse(ItemStack itemStack, EntityPlayer player, World world, int x, int y, int z, int par7, float par8, float par9, float par10)
{
//TODO: world.getBlock()
if (world.getBlock(x, y, z) == Blocks.jukebox && world.getBlockMetadata(x, y, z) == 0)
{
if (world.isRemote)
return true;
else
{
//TODO: .insertRecord()
((BlockJukebox)Blocks.jukebox).func_149926_b(world, x, y, z, itemStack);
//TODO: Item.getIdFromItem()
world.playAuxSFXAtEntity((EntityPlayer)null, 1005, x, y, z, Item.getIdFromItem(this));
--itemStack.stackSize;
return true;
}
}
else
return false;
}
@Override
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
{
par3List.add(this.getRecordNameLocal());
}
@Override
//TODO: getRecordTitle()
public String getRecordNameLocal()
{
return StatCollector.translateToLocal(this.getUnlocalizedName() + ".desc");
}
@Override
public EnumRarity getRarity(ItemStack itemStack)
{
return EnumRarity.rare;
}
public static ItemDanTDM_CD_2 getRecord(String par0Str)
{
return (ItemDanTDM_CD_2)records.get(par0Str);
}
@Override
public ResourceLocation getRecordResource(String name)
{
return new ResourceLocation("youtubers:" + name);
}
}

View File

@ -0,0 +1,107 @@
package com.jtrent238.youtubers.items;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.minecraft.block.BlockJukebox;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemRecord;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
public class ItemDanTDM_CD_3 extends ItemRecord
{
private static final Map records = new HashMap();
public final String recordName;
public ItemDanTDM_CD_3(String recordName)
{
super(recordName);
this.recordName = recordName;
this.maxStackSize = 1;
records.put(recordName, this);
}
@Override
public void registerIcons(IIconRegister iconRegister)
{
itemIcon = iconRegister.registerIcon("youtubers:" + "record_" + recordName);
}
@Override
public boolean onItemUse(ItemStack itemStack, EntityPlayer player, World world, int x, int y, int z, int par7, float par8, float par9, float par10)
{
//TODO: world.getBlock()
if (world.getBlock(x, y, z) == Blocks.jukebox && world.getBlockMetadata(x, y, z) == 0)
{
if (world.isRemote)
return true;
else
{
//TODO: .insertRecord()
((BlockJukebox)Blocks.jukebox).func_149926_b(world, x, y, z, itemStack);
//TODO: Item.getIdFromItem()
world.playAuxSFXAtEntity((EntityPlayer)null, 1005, x, y, z, Item.getIdFromItem(this));
--itemStack.stackSize;
return true;
}
}
else
return false;
}
@Override
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
{
par3List.add(this.getRecordNameLocal());
}
@Override
//TODO: getRecordTitle()
public String getRecordNameLocal()
{
return StatCollector.translateToLocal(this.getUnlocalizedName() + ".desc");
}
@Override
public EnumRarity getRarity(ItemStack itemStack)
{
return EnumRarity.rare;
}
public static ItemDanTDM_CD_3 getRecord(String par0Str)
{
return (ItemDanTDM_CD_3)records.get(par0Str);
}
@Override
public ResourceLocation getRecordResource(String name)
{
return new ResourceLocation("youtubers:" + name);
}
}

View File

@ -0,0 +1,107 @@
package com.jtrent238.youtubers.items;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.minecraft.block.BlockJukebox;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemRecord;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
public class ItemDanTDM_CD_4 extends ItemRecord
{
private static final Map records = new HashMap();
public final String recordName;
public ItemDanTDM_CD_4(String recordName)
{
super(recordName);
this.recordName = recordName;
this.maxStackSize = 1;
records.put(recordName, this);
}
@Override
public void registerIcons(IIconRegister iconRegister)
{
itemIcon = iconRegister.registerIcon("youtubers:" + "record_" + recordName);
}
@Override
public boolean onItemUse(ItemStack itemStack, EntityPlayer player, World world, int x, int y, int z, int par7, float par8, float par9, float par10)
{
//TODO: world.getBlock()
if (world.getBlock(x, y, z) == Blocks.jukebox && world.getBlockMetadata(x, y, z) == 0)
{
if (world.isRemote)
return true;
else
{
//TODO: .insertRecord()
((BlockJukebox)Blocks.jukebox).func_149926_b(world, x, y, z, itemStack);
//TODO: Item.getIdFromItem()
world.playAuxSFXAtEntity((EntityPlayer)null, 1005, x, y, z, Item.getIdFromItem(this));
--itemStack.stackSize;
return true;
}
}
else
return false;
}
@Override
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
{
par3List.add(this.getRecordNameLocal());
}
@Override
//TODO: getRecordTitle()
public String getRecordNameLocal()
{
return StatCollector.translateToLocal(this.getUnlocalizedName() + ".desc");
}
@Override
public EnumRarity getRarity(ItemStack itemStack)
{
return EnumRarity.rare;
}
public static ItemDanTDM_CD_4 getRecord(String par0Str)
{
return (ItemDanTDM_CD_4)records.get(par0Str);
}
@Override
public ResourceLocation getRecordResource(String name)
{
return new ResourceLocation("youtubers:" + name);
}
}

View File

@ -0,0 +1,107 @@
package com.jtrent238.youtubers.items;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.minecraft.block.BlockJukebox;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemRecord;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
public class ItemDanTDM_CD_5 extends ItemRecord
{
private static final Map records = new HashMap();
public final String recordName;
public ItemDanTDM_CD_5(String recordName)
{
super(recordName);
this.recordName = recordName;
this.maxStackSize = 1;
records.put(recordName, this);
}
@Override
public void registerIcons(IIconRegister iconRegister)
{
itemIcon = iconRegister.registerIcon("youtubers:" + "record_" + recordName);
}
@Override
public boolean onItemUse(ItemStack itemStack, EntityPlayer player, World world, int x, int y, int z, int par7, float par8, float par9, float par10)
{
//TODO: world.getBlock()
if (world.getBlock(x, y, z) == Blocks.jukebox && world.getBlockMetadata(x, y, z) == 0)
{
if (world.isRemote)
return true;
else
{
//TODO: .insertRecord()
((BlockJukebox)Blocks.jukebox).func_149926_b(world, x, y, z, itemStack);
//TODO: Item.getIdFromItem()
world.playAuxSFXAtEntity((EntityPlayer)null, 1005, x, y, z, Item.getIdFromItem(this));
--itemStack.stackSize;
return true;
}
}
else
return false;
}
@Override
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
{
par3List.add(this.getRecordNameLocal());
}
@Override
//TODO: getRecordTitle()
public String getRecordNameLocal()
{
return StatCollector.translateToLocal(this.getUnlocalizedName() + ".desc");
}
@Override
public EnumRarity getRarity(ItemStack itemStack)
{
return EnumRarity.rare;
}
public static ItemDanTDM_CD_5 getRecord(String par0Str)
{
return (ItemDanTDM_CD_5)records.get(par0Str);
}
@Override
public ResourceLocation getRecordResource(String name)
{
return new ResourceLocation("youtubers:" + name);
}
}

View File

@ -0,0 +1,107 @@
package com.jtrent238.youtubers.items;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import net.minecraft.block.BlockJukebox;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Blocks;
import net.minecraft.item.EnumRarity;
import net.minecraft.item.Item;
import net.minecraft.item.ItemRecord;
import net.minecraft.item.ItemStack;
import net.minecraft.util.ResourceLocation;
import net.minecraft.util.StatCollector;
import net.minecraft.world.World;
public class ItemDanTDM_CD_6 extends ItemRecord
{
private static final Map records = new HashMap();
public final String recordName;
public ItemDanTDM_CD_6(String recordName)
{
super(recordName);
this.recordName = recordName;
this.maxStackSize = 1;
records.put(recordName, this);
}
@Override
public void registerIcons(IIconRegister iconRegister)
{
itemIcon = iconRegister.registerIcon("youtubers:" + "record_" + recordName);
}
@Override
public boolean onItemUse(ItemStack itemStack, EntityPlayer player, World world, int x, int y, int z, int par7, float par8, float par9, float par10)
{
//TODO: world.getBlock()
if (world.getBlock(x, y, z) == Blocks.jukebox && world.getBlockMetadata(x, y, z) == 0)
{
if (world.isRemote)
return true;
else
{
//TODO: .insertRecord()
((BlockJukebox)Blocks.jukebox).func_149926_b(world, x, y, z, itemStack);
//TODO: Item.getIdFromItem()
world.playAuxSFXAtEntity((EntityPlayer)null, 1005, x, y, z, Item.getIdFromItem(this));
--itemStack.stackSize;
return true;
}
}
else
return false;
}
@Override
public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4)
{
par3List.add(this.getRecordNameLocal());
}
@Override
//TODO: getRecordTitle()
public String getRecordNameLocal()
{
return StatCollector.translateToLocal(this.getUnlocalizedName() + ".desc");
}
@Override
public EnumRarity getRarity(ItemStack itemStack)
{
return EnumRarity.rare;
}
public static ItemDanTDM_CD_6 getRecord(String par0Str)
{
return (ItemDanTDM_CD_6)records.get(par0Str);
}
@Override
public ResourceLocation getRecordResource(String name)
{
return new ResourceLocation("youtubers:" + name);
}
}

View File

@ -0,0 +1,5 @@
package com.jtrent238.youtubers.items;
public class ItemDiamondPlayButton extends ItemPlayButton{
}

View File

@ -0,0 +1,23 @@
package com.jtrent238.youtubers.items;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.util.EnumChatFormatting;
public class ItemEnchantedDiamond extends Item{
private static final String __OBFID = "CL_00000065";
public ItemEnchantedDiamond(){
}
@SideOnly(Side.CLIENT)
public boolean hasEffect(ItemStack p_77636_1_)
{
return true;
}
}

View File

@ -0,0 +1,7 @@
package com.jtrent238.youtubers.items;
import net.minecraft.item.Item;
public class ItemFanMail extends Item{
}

View File

@ -0,0 +1,5 @@
package com.jtrent238.youtubers.items;
public class ItemGoldPlayButton extends ItemPlayButton{
}

View File

@ -0,0 +1,7 @@
package com.jtrent238.youtubers.items;
import net.minecraft.item.Item;
public class ItemPlayButton extends Item{
}

View File

@ -0,0 +1,5 @@
package com.jtrent238.youtubers.items;
public class ItemPlayerSpawner extends ItemSpawnEgg{
}

View File

@ -0,0 +1,103 @@
package com.jtrent238.youtubers.items;
import java.util.Random;
import net.minecraft.block.Block;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.inventory.IInventory;
import net.minecraft.item.Item;
import net.minecraft.item.ItemStack;
import net.minecraft.world.World;
public class ItemRandomBlockStructure_Placer extends Item{
public ItemRandomBlockStructure_Placer(int par1){
setMaxDamage(0);
maxStackSize = 1;
//setUnlocalizedName("itemJenWellPlacer");
//setTextureName("epicproportionsmod:itemJenWellPlacer");
//setCreativeTab(EpicProportionsMod.EpicProportionsMod);
}
public int getItemEnchantability()
{
return 0;
}
public int getMaxItemUseDuration(ItemStack par1ItemStack)
{
return 1;
}
public float getStrVsBlock(ItemStack par1ItemStack, Block par2Block)
{
return 1.0F;
}
public boolean onItemUse(ItemStack itemStack, EntityPlayer entity, World world, int x, int y, int z, int l, float a, float b, float c){
float var4 = 1.0F;
if(true){
boolean place = true;
if(place){
Random rn = new Random();
int max = 250;
int min = 1;
int result = rn.nextInt(max - min + 1) + min;
System.out.println(result);
world.setBlock(x+0, y+0, z+0, Block.getBlockById(result));
world.setBlock(x+1, y+0, z+0, Block.getBlockById(result));
world.setBlock(x+2, y+0, z+0, Block.getBlockById(result));
world.setBlock(x+0, y+0, z+1, Block.getBlockById(result));
world.setBlock(x+1, y+0, z+1, Block.getBlockById(result));
world.setBlock(x+2, y+0, z+1, Block.getBlockById(result));
world.setBlock(x+0, y+0, z+2, Block.getBlockById(result));
world.setBlock(x+1, y+0, z+2, Block.getBlockById(result));
world.setBlock(x+2, y+0, z+2, Block.getBlockById(result));
world.setBlock(x+0, y+1, z+0, Block.getBlockById(result));
world.setBlock(x+1, y+1, z+0, Block.getBlockById(result));
world.setBlock(x+2, y+1, z+0, Block.getBlockById(result));
world.setBlock(x+0, y+1, z+1, Block.getBlockById(result));
world.setBlock(x+1, y+1, z+1, Block.getBlockById(result));
world.setBlock(x+2, y+1, z+1, Block.getBlockById(result));
world.setBlock(x+0, y+1, z+2, Block.getBlockById(result));
world.setBlock(x+1, y+1, z+2, Block.getBlockById(result));
world.setBlock(x+2, y+1, z+2, Block.getBlockById(result));
world.setBlock(x+0, y+2, z+0, Block.getBlockById(result));
world.setBlock(x+1, y+2, z+0, Block.getBlockById(result));
world.setBlock(x+2, y+2, z+0, Block.getBlockById(result));
world.setBlock(x+0, y+2, z+1, Block.getBlockById(result));
world.setBlock(x+1, y+2, z+1, Block.getBlockById(result));
world.setBlock(x+2, y+2, z+1, Block.getBlockById(result));
world.setBlock(x+0, y+2, z+2, Block.getBlockById(result));
world.setBlock(x+1, y+2, z+2, Block.getBlockById(result));
world.setBlock(x+2, y+2, z+2, Block.getBlockById(result));
}
--itemStack.stackSize;
}
return true;
}
public void removeItem(EntityPlayer ep, ItemStack removeitem) {
IInventory inv = ep.inventory;
for(int i=0; i < inv.getSizeInventory(); i++)
{
if(inv.getStackInSlot(i) != null)
{
ItemStack j = inv.getStackInSlot(i);
if(j.getItem() != null && j.getItem() == removeitem.getItem())
{
inv.setInventorySlotContents(i, null);
}
}
}
}
}

View File

@ -0,0 +1,5 @@
package com.jtrent238.youtubers.items;
public class ItemRubyPlayButton extends ItemPlayButton{
}

View File

@ -0,0 +1,5 @@
package com.jtrent238.youtubers.items;
public class ItemSilverPlayButton extends ItemPlayButton{
}

View File

@ -0,0 +1,48 @@
package com.jtrent238.youtubers.items.armor;
import java.util.List;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.BlockDispenser;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.command.IEntitySelector;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.dispenser.BehaviorDefaultDispenseItem;
import net.minecraft.dispenser.IBehaviorDispenseItem;
import net.minecraft.dispenser.IBlockSource;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemArmor.ArmorMaterial;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.IIcon;
import net.minecraft.world.World;
public class BajanCanadian_Armor extends ItemArmor{
private String textureName;
private int armorType;
public BajanCanadian_Armor(ArmorMaterial diamond, int i, int j) {
super(diamond, 0, i);
//this.textureName = textureName;
this.setUnlocalizedName("BajanCanadian_Armor");
this.setTextureName("youtubers:BajanCanadian_Armor");
}
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
{
return "youtubers:textures/armor/BajanCanadian_Armor_" + (this.armorType == 2 ? "2" : "1") + ".png";
}
}

View File

@ -0,0 +1,48 @@
package com.jtrent238.youtubers.items.armor;
import java.util.List;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.BlockDispenser;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.command.IEntitySelector;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.dispenser.BehaviorDefaultDispenseItem;
import net.minecraft.dispenser.IBehaviorDispenseItem;
import net.minecraft.dispenser.IBlockSource;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemArmor.ArmorMaterial;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.IIcon;
import net.minecraft.world.World;
public class EckoSoldier_Armor extends ItemArmor{
private String textureName;
private int armorType;
public EckoSoldier_Armor(ArmorMaterial diamond, int i, int j) {
super(diamond, 0, i);
//this.textureName = textureName;
this.setUnlocalizedName("EckoSoldier_Armor");
this.setTextureName("youtubers:EckoSoldier_Armor");
}
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
{
return "youtubers:textures/armor/EckoSoldier_Armor_" + (this.armorType == 2 ? "2" : "1") + ".png";
}
}

View File

@ -0,0 +1,27 @@
package com.jtrent238.youtubers.items.armor;
import net.minecraft.entity.Entity;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemArmor.ArmorMaterial;
public class Magna_Invictus_Armor extends ItemArmor{
private String textureName;
private int armorType;
public Magna_Invictus_Armor(ArmorMaterial diamond, int i, int j) {
super(diamond, 0, i);
//this.textureName = textureName;
this.setUnlocalizedName("Magna_Invictus_Armor");
this.setTextureName("youtubers:Magna_Invictus_Armor");
}
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
{
return "youtubers:textures/armor/Magna_Invictus_Armor" + (this.armorType == 2 ? "2" : "1") + ".png";
}
}

View File

@ -0,0 +1,27 @@
package com.jtrent238.youtubers.items.armor;
import net.minecraft.entity.Entity;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemArmor.ArmorMaterial;
public class RealThinknoodles_Armor extends ItemArmor{
private String textureName;
private int armorType;
public RealThinknoodles_Armor(ArmorMaterial diamond, int i, int j) {
super(diamond, 0, i);
//this.textureName = textureName;
this.setUnlocalizedName("RealThinknoodles_Armor");
this.setTextureName("RealThinknoodles_Armor");
}
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
{
return "youtubers:textures/armor/RealThinknoodles_Armor" + (this.armorType == 2 ? "2" : "1") + ".png";
}
}

View File

@ -0,0 +1,48 @@
package com.jtrent238.youtubers.items.armor;
import java.util.List;
import cpw.mods.fml.relauncher.Side;
import cpw.mods.fml.relauncher.SideOnly;
import net.minecraft.block.BlockDispenser;
import net.minecraft.client.renderer.texture.IIconRegister;
import net.minecraft.command.IEntitySelector;
import net.minecraft.creativetab.CreativeTabs;
import net.minecraft.dispenser.BehaviorDefaultDispenseItem;
import net.minecraft.dispenser.IBehaviorDispenseItem;
import net.minecraft.dispenser.IBlockSource;
import net.minecraft.entity.Entity;
import net.minecraft.entity.EntityLiving;
import net.minecraft.entity.EntityLivingBase;
import net.minecraft.entity.player.EntityPlayer;
import net.minecraft.init.Items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemArmor;
import net.minecraft.item.ItemStack;
import net.minecraft.item.ItemArmor.ArmorMaterial;
import net.minecraft.nbt.NBTTagCompound;
import net.minecraft.util.AxisAlignedBB;
import net.minecraft.util.EnumFacing;
import net.minecraft.util.IIcon;
import net.minecraft.world.World;
public class SSundee_Armor extends ItemArmor{
private String textureName;
private int armorType;
public SSundee_Armor(ArmorMaterial diamond, int i, int j) {
super(diamond, 0, i);
//this.textureName = textureName;
this.setUnlocalizedName("SSundee_Armor");
this.setTextureName("youtubers:SSundee_Armor");
}
@Override
public String getArmorTexture(ItemStack stack, Entity entity, int slot, String type)
{
return "youtubers:textures/armor/SSundee_Armor_" + (this.armorType == 2 ? "2" : "1") + ".png";
}
}

View File

@ -0,0 +1,5 @@
package com.jtrent238.youtubers.items.materials;
public class ItemBajanCanadianIngot extends YouTuberIngot{
}

View File

@ -0,0 +1,5 @@
package com.jtrent238.youtubers.items.materials;
public class ItemEckoSoldierIngot extends YouTuberIngot{
}

View File

@ -0,0 +1,5 @@
package com.jtrent238.youtubers.items.materials;
public class ItemMagna_InvictusIngot extends YouTuberIngot{
}

View File

@ -0,0 +1,5 @@
package com.jtrent238.youtubers.items.materials;
public class ItemRealThinknoodlesIngot extends YouTuberIngot{
}

View File

@ -0,0 +1,5 @@
package com.jtrent238.youtubers.items.materials;
public class ItemSSundeeIngot extends YouTuberIngot{
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemAxe;
public class ItemBajanCanadianAxe extends ItemAxe{
public ItemBajanCanadianAxe(ToolMaterial p_i45327_1_) {
super(p_i45327_1_);
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemHoe;
public class ItemBajanCanadianHoe extends ItemHoe{
public ItemBajanCanadianHoe(ToolMaterial p_i45343_1_) {
super(p_i45343_1_);
}
}

View File

@ -0,0 +1,9 @@
package com.jtrent238.youtubers.items.tools;
public class ItemBajanCanadianMultiTool extends ItemMultiTool{
public ItemBajanCanadianMultiTool(ToolMaterial material) {
super(material);
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemPickaxe;
public class ItemBajanCanadianPickaxe extends ItemPickaxe{
public ItemBajanCanadianPickaxe(ToolMaterial p_i45347_1_) {
super(p_i45347_1_);
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemSpade;
public class ItemBajanCanadianShovel extends ItemSpade{
public ItemBajanCanadianShovel(ToolMaterial p_i45353_1_) {
super(p_i45353_1_);
}
}

View File

@ -0,0 +1,12 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemAxe;
public class ItemEckoSoldierAxe extends ItemAxe{
public ItemEckoSoldierAxe(ToolMaterial p_i45327_1_) {
super(p_i45327_1_);
// TODO Auto-generated constructor stub
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemHoe;
public class ItemEckoSoldierHoe extends ItemHoe{
public ItemEckoSoldierHoe(ToolMaterial p_i45343_1_) {
super(p_i45343_1_);
}
}

View File

@ -0,0 +1,9 @@
package com.jtrent238.youtubers.items.tools;
public class ItemEckoSoldierMultiTool extends ItemMultiTool{
public ItemEckoSoldierMultiTool(ToolMaterial material) {
super(material);
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemPickaxe;
public class ItemEckoSoldierPickaxe extends ItemPickaxe{
public ItemEckoSoldierPickaxe(ToolMaterial p_i45347_1_) {
super(p_i45347_1_);
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemSpade;
public class ItemEckoSoldierShovel extends ItemSpade{
public ItemEckoSoldierShovel(ToolMaterial p_i45353_1_) {
super(p_i45353_1_);
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemAxe;
public class ItemMagna_InvictusAxe extends ItemAxe{
public ItemMagna_InvictusAxe(ToolMaterial p_i45327_1_) {
super(p_i45327_1_);
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemHoe;
public class ItemMagna_InvictusHoe extends ItemHoe{
public ItemMagna_InvictusHoe(ToolMaterial p_i45343_1_) {
super(p_i45343_1_);
}
}

View File

@ -0,0 +1,9 @@
package com.jtrent238.youtubers.items.tools;
public class ItemMagna_InvictusMultiTool extends ItemMultiTool{
public ItemMagna_InvictusMultiTool(ToolMaterial material) {
super(material);
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemPickaxe;
public class ItemMagna_InvictusPickaxe extends ItemPickaxe{
public ItemMagna_InvictusPickaxe(ToolMaterial p_i45347_1_) {
super(p_i45347_1_);
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemSpade;
public class ItemMagna_InvictusShovel extends ItemSpade{
public ItemMagna_InvictusShovel(ToolMaterial p_i45353_1_) {
super(p_i45353_1_);
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemAxe;
public class ItemRealThinknoodlesAxe extends ItemAxe{
public ItemRealThinknoodlesAxe(ToolMaterial p_i45327_1_) {
super(p_i45327_1_);
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemHoe;
public class ItemRealThinknoodlesHoe extends ItemHoe{
public ItemRealThinknoodlesHoe(ToolMaterial p_i45343_1_) {
super(p_i45343_1_);
}
}

View File

@ -0,0 +1,9 @@
package com.jtrent238.youtubers.items.tools;
public class ItemRealThinknoodlesMultiTool extends ItemMultiTool{
public ItemRealThinknoodlesMultiTool(ToolMaterial material) {
super(material);
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemPickaxe;
public class ItemRealThinknoodlesPickaxe extends ItemPickaxe{
public ItemRealThinknoodlesPickaxe(ToolMaterial p_i45347_1_) {
super(p_i45347_1_);
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemSpade;
public class ItemRealThinknoodlesShovel extends ItemSpade{
public ItemRealThinknoodlesShovel(ToolMaterial p_i45353_1_) {
super(p_i45353_1_);
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemAxe;
public class ItemSSundeeAxe extends ItemAxe{
public ItemSSundeeAxe(ToolMaterial p_i45327_1_) {
super(p_i45327_1_);
}
}

View File

@ -0,0 +1,11 @@
package com.jtrent238.youtubers.items.tools;
import net.minecraft.item.ItemHoe;
public class ItemSSundeeHoe extends ItemHoe{
public ItemSSundeeHoe(ToolMaterial p_i45343_1_) {
super(p_i45343_1_);
}
}

View File

@ -0,0 +1,9 @@
package com.jtrent238.youtubers.items.tools;
public class ItemSSundeeMultiTool extends ItemMultiTool{
public ItemSSundeeMultiTool(ToolMaterial material) {
super(material);
}
}

Some files were not shown because too many files have changed in this diff Show More